← Back to issue list

linters: address issues and enable pylint in ci

View original Github issue

Metadata

Project
snapcraft
Number
#3672
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged after approval and CI pass. The PR addressed linter issues and enabled pylint in CI across 8 files. Changes increased test coverage by 0.02% with 100% diff coverage, successfully integrating static analysis into the pipeline.

Suggested action:

No scores available.

Issue body

Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [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/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after approval and CI pass. The PR addressed linter issues and enabled pylint in CI across 8 files. Changes increased test coverage by 0.02% with 100% diff coverage, successfully integrating static analysis into the pipeline.
qwen3.6-35b-a3b-mtp-q6 Merged Claudio Matsuoka's changes addressing linter issues and enabling pylint in CI. Integrated into the snapcraft/7.0 branch, increasing code coverage by 0.02% with 100% diff coverage.
qwen3.6-35b-a3b-mtp-q6 Merged into snapcraft/7.0. Addressed linter issues and enabled pylint in CI, increasing code coverage by 0.02% with 100% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#166 linters: re-enable pylint fixme info craft-parts merged Merged a one-line change to re-enable pylint fixme info in the linters configuration. Approved by one reviewer, passed all CI checks, and resolved with zero outstanding comments.
76%
#494 lint: Set a linter conf and fix errors fetch-service merged Merged following reviewer approval and successful CI checks. Integrated golangci-lint configuration and resolved linting errors across 117 files, establishing automated static analysis for the codebase.
76%
#567 ci: fix linter issues craft-parts merged Merged fix for CI linter issues across four files (+14/-6 lines). Approved by one reviewer and passed all CI checks before integration.
74%
#57 tests: update pylint and address new warnings craft-parts merged Merged after two approvals and passing CI. Updated pylint to 2.8.2 and resolved newly introduced linting warnings in the test suite with minor code adjustments across a single file.
73%
#18 lint: update linters craft-archives merged Merged maintainer lengau's pull request updating project linters. The change modified two files with a net reduction of six lines. Approved by one reviewer with no unresolved comments, the update was successfully integrated.
73%
#3931 linters: allow ignoring files per-linter snapcraft merged Merged. Restructures lint.ignore to support per-linter file exclusions for finer-grained control. Approved, passed CI with 100% diff coverage, and modified 9 files. Preserves ability to disable entire linters.
73%
#77 lint: fix linting issues with up-to-date linters craft-store merged Merged a maintainer-submitted pull request resolving linting errors from updated linter versions. Approved by one reviewer, passed CI, and modified 11 files (+40/-24 lines).
73%
#59 Run pylint in Github CI. craft-cli merged Merged to add pylint to GitHub CI. Approved by two reviewers with no comments. The change adds three lines to one configuration file, enabling automated static code analysis during continuous integration.
72%
#90 many: address new linter warnings (CRAFT-364) craft-parts merged Merged after resolving new linter warnings from updated mypy and pylint versions, including silencing checks in tests. Approved by two reviewers, passed CI, and modified eight files (+32/-22 lines).
72%
#66 lint: update pylint configuration craft-store merged Merged an update to the pylint configuration, removing 627 lines of outdated settings and adding 16 lines with no functional changes. Approved by a reviewer and passed all CI checks.
72%