← Back to issue list

style: fix ruff format tox environment

View original Github issue

Metadata

Project
snapcraft
Number
#4416
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged into main after passing CI and two approvals. The PR fixes the ruff format tox environment configuration, changing one file (+2/-3 lines).

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `pytest tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into main after passing CI and two approvals. The PR fixes the ruff format tox environment configuration, changing one file (+2/-3 lines).
qwen3.6-35b-a3b-mtp-q6 Merged to main. Updates the tox environment configuration to correctly apply ruff formatting, resolving linting inconsistencies. All checks passed before merge. Codecov reported a negligible 0.01% coverage decrease.
qwen3.6-35b-a3b-mtp-q6 Merged into main. The change corrected the ruff formatting configuration within the tox environment. Codecov reported a 0.01% coverage decrease upon integration.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#66 tools: fix ruff linting command in tox starbase merged Merged a one-line fix that corrected the ruff linting command in tox. The change received reviewer approval and was successfully integrated into the codebase.
82%
#67 lint: fix ruff linting in tox craft-archives merged Merged after reviewer approval and passing CI. Resolves ruff linting issues in the tox environment by updating three files. Code coverage remains unchanged at 88.07%.
82%
#1662 style: autoformat to fix for ruff 0.4 charmcraft merged Merged after two approvals. Autoformats the codebase to comply with ruff 0.4 via tox -f format, updating 10 files with 27 additions and 46 deletions.
81%
#901 style: fix ruff 0.13 linting issues craft-application merged Merged after passing all CI checks and receiving approval from two reviewers. Resolves ruff 0.13 linting issues with a single-line change to one file.
77%
#4273 docs: fix tox doc builds snapcraft merged Merged to main after reviewer approval and passing CI. The change fixes tox documentation builds by modifying a single file (+2/-12 lines), with no impact on code coverage.
76%
#4058 tox: fix linters and makefile snapcraft merged Merged into main after approval and passing CI. Fixes tox linter configurations and updates the Makefile, with no impact on test coverage.
76%
#1737 style: fix linting for ruff 0.5 charmcraft merged Merged after approval by two reviewers and passing CI. The change updates the codebase to comply with ruff 0.5 linting rules, adjusting style configurations and fixing formatting across one file.
76%
#1288 style: fix ruff PTH211 errors craft-parts merged Merged to resolve Ruff 0.13 PTH211 lint violations. Approved by two reviewers with all CI checks passing. Updated eight files to correct style errors.
75%
#1674 fix: make tox tests succeed charmcraft merged Merged to fix failing tox tests by correcting an environment variable and working around canonical/operator#1212. Approved by two reviewers with a 7-line addition and 2 deletions across three files.
74%
#969 style: fix linting issues for ruff 0.9 craft-parts merged Merged a minor style fix addressing linting issues for ruff 0.9. Approved by two reviewers, passed CI checks, and updated two files with a net change of one line.
74%