← Back to issue list

chore: fix some small pyproject errors, include uv.lock

View original Github issue

Metadata

Project
craft-parts
Number
#955
Type
pull request
State
merged
Author
bepri
Labels
Created
Updated
Closed

Current evaluation

Merged after approval and CI checks. Fixed deprecated Ruff linter rules, corrected the git describe parameter to an array, and added a uv.lock file.

Suggested action:

No scores available.

Issue body

The pyproject file referenced some deprecated Ruff linter rules and incorrectly formatted the git describe command parameter, which had to be an array. This PR fixes both, as well as includes a uv.lock file for the repo. - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after approval and CI checks. Fixed deprecated Ruff linter rules, corrected the git describe parameter to an array, and added a uv.lock file.
qwen3.6-35b-a3b-mtp-q6 Merged maintainer PR fixing deprecated Ruff linter rules in pyproject, correcting the git describe parameter to an array, and adding a uv.lock file.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#987 chore: fix CI lint/test blockers and refresh uv.lock craft-providers closed Merged after passing all CI checks. Updated uv.lock to latest compatible versions and resolved docs lint/linkcheck failures by removing duplicate intersphinx overrides from docs/conf.py, keeping lint and test suites green.
78%
#5194 chore: fix small pyproject.yaml errors snapcraft merged Merged changes to pyproject.yaml that remove deprecated Ruff lint rules ANN101 and ANN102, and correct an invalid Black configuration variable. Approved by two reviewers, passed CI checks, and applied minimal code adjustments.
78%
#1347 chore(deps): update ruff and fix new linting errors charmcraft merged Merged after updating the ruff dependency and fixing new linting errors. Modifications were largely autoformatted across ten files. The changes received dual reviewer approval, passed CI checks, and were successfully integrated.
77%
#115 chore(deps): update ruff and fix linting issue craft-application merged Merged into main after two approvals and passing CI. The update refreshed the ruff dependency and resolved a linting issue across two files. Codecov recorded a negligible 0.10% coverage decrease upon merge.
76%
#5266 chore: fix gitignore entry snapcraft merged Merged a .gitignore fix that incorrectly ignored parts/ directories project-wide. The update resolves unintended side effects and restores Ruff linting. Approved by two reviewers and passed CI.
76%
#103 chore: fix new lints from ruff 0.12 craft-grammar merged Merged after approval and passing CI checks. Updated pre-commit ruff to 0.12 and resolved newly introduced lint errors across four files. Changes were cherry-picked from canonical/starbase#409.
75%
#439 chore(linter): misc fix rockcraft merged Merged linter chore PR fixing miscellaneous issues and an unexpected pyright error from a rebase onto main. Approved by two reviewers, changes span 16 files with 86 additions and 76 deletions.
75%
#700 chore: update ruff craft-parts merged Merged after approval by two reviewers and passing CI checks. Updates ruff configuration across four files, supersedes #699, and resolves a lint issue addressed in #702.
75%
#317 chore: update ruff configuration for 0.8 craft-cli merged Merged. Removed two unsupported linter rules from pyproject.toml to align with ruff 0.8. Approved by two reviewers, passed CI, and merged after auto-format resolved remaining linting errors.
74%
#204 chore: use ruff snap starbase merged Merged "chore: use ruff snap". Approved by 3 reviewers and passed CI checks. Modified 4 files with a net diff of +5/-5 lines.
73%