chore: fix small pyproject.yaml errors
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
There were two fully deprecated rules being selected for in Ruff's lint rules, as well as an invalid variable name for Black's config. This pull corrects both errors.
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Deleted lint rules: [ANN101](https://docs.astral.sh/ruff/rules/missing-type-self/), [ANN102](https://docs.astral.sh/ruff/rules/missing-type-cls/)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for pyproject.yaml errors. Removed deprecated Ruff rules ANN101 and ANN102, and corrected an invalid Black config variable. Lint and tests passed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for pyproject.yaml configuration errors. Removed deprecated Ruff lint rules ANN101 and ANN102, and corrected an invalid Black configuration variable. All lint and test checks passed prior to merge. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #955 chore: fix some small pyproject errors, include uv.lock | craft-parts | merged | 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. | |
| #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. | |
| #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. | |
| #191 chore(deps): update development dependencies (non-major) | starbase | merged | Merged automated dependency updates for lint/ruff to 0.3.0 and types/pyright to 1.1.352. Approved by reviewer, passed CI, and auto-merged via Renovate bot. | |
| #122 chore: eliminate pydantic warnings | craft-archives | merged | Merged after two approvals and passing CI. Refactored three files to eliminate pydantic deprecation warnings, adding 24 lines and removing 15. | |
| #778 chore: pydantic 2 related cleanup | craft-parts | merged | Merged a Pydantic 2 compatibility cleanup. Approved by two reviewers and passed CI. Modified seven files with 28 additions and 26 deletions. Required PR #775. | |
| #363 chore: remove use of black in favor of ruff | starbase | merged | Merged a maintainer's change removing dangling references to the black formatter and replacing it with ruff. Approved by two reviewers, passed CI, and modified one file with minimal changes. | |
| #794 chore: remove pydantic warnings | craft-parts | merged | Successfully merged after approval by two reviewers and passing CI checks. The changes remove pydantic warnings across 9 files, adding 30 lines and deleting 16 to clean up framework deprecation notices. | |
| #62 chore(deps): update bugfixes | starbase | merged | Merged automated dependency updates via Renovate bot. Updated lint/ruff to 0.0.267, pyright to 1.1.308, and types/pyright to 1.1.308 to apply bug fixes. Successfully merged. | |
| #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. |