[Feature request] Use ruff to replace flake8 and pylint
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing the repository's azdev linter entry point and compare its flake8 and pylint checks with Ruff's documented capabilities. Define which checks can be replaced and verify that the resulting azdev linter behavior meets the intended speed and coverage goals; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
It only takes less than 0.2s to check cli repo, which is awesome.
Measure-Command {ruff check ./}
TotalMilliseconds : 160.2757
In comparison, azdev style takes 37minute.
Disregard some lint rules of pylint are missed, it can replace azdev linter. https://github.com/astral-sh/ruff/issues/970
- Dominant language
- Python
- Stars
- 91
- Forks
- 134
- Avg merge
- 2h 51m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-cli-dev-tools
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Azure/azure-cli-dev-tools#310 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Azure/azure-cli-dev-tools#529 ·
-
Check random default into metadata change whitelist.txtMay be free again @AllyW claimed this 508 days ago, and no pull request is open. Open
Azure/azure-cli-dev-tools#525 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure/azure-cli-dev-tools#520 ·
-
`azdev extension remove` does not clear its corresponding source code path in `sys.path` when its package name is not its folder nameMay be free again @AllyW claimed this 545 days ago, and no pull request is open. Open
Azure/azure-cli-dev-tools#519 · 1 comment · 1 reaction · 1 assignee ·
All issues in Azure/azure-cli-dev-tools
Similar issues
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openvinotoolkit/openvino_notebooks#3665 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
benchmark-gap
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day