← Back to issue list

Replace flake8 and pydocstyle template tests with ruff

View original Github issue

Metadata

Project
charmcraft
Number
#1461
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Closed without a linked pull request or comments, indicating the task was abandoned or resolved separately.

Suggested action:

No scores available.

Issue body

### What needs to get done We currently have tests that run each profile for `charmcraft init` and then run them through pydocstyle etc. Replace these with tests that run `ruff` on them the way the linter says to do so. ### Why it needs to get done We moved everything to ruff but forgot these tests. It could become an issue if the tools diverge.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed without a linked pull request or comments, indicating the task was abandoned or resolved separately.
qwen/qwen3.6-35b-a3b Closed without comments or linked resolution. The task to update template tests from flake8 and pydocstyle to ruff remains unaddressed and appears abandoned.
qwen/qwen3.6-35b-a3b Requested replacement of flake8 and pydocstyle template tests with ruff was closed as resolved. The maintainer implemented the updated tests to align with the project's linter migration, ensuring consistent linting.
qwen3.6-35b-a3b-mtp-q6 Abandoned and closed without resolution or linked pull request. The task to replace flake8 and pydocstyle template tests with ruff remains unaddressed.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution; the migration of flake8 and pydocstyle template tests to ruff was abandoned. No implementation or follow-up pull request was created.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1941 fix(templates): replace flake8 and pydocstyle with ruff charmcraft merged Merged changes replacing flake8 and pydocstyle with ruff in the templates directory. Approved by three reviewers, the update modifies 14 files and resolves issue #1461.
78%
#739 chore: remove flake8 and pydocstyle rockcraft merged Merged removal of flake8 and pydocstyle in favor of ruff. Approved by two reviewers, passed CI, and updated four files with a net reduction of 53 lines.
71%