Azure / Azure/azure-cli-dev-tools

[Feature request] Use ruff to replace flake8 and pylint

Open
#462 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

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.
![image](https://github.com/user-attachments/assets/bc731098-0318-48f1-b3c5-96afec2ead57)

Disregard some lint rules of pylint are missed, it can replace `azdev linter`. https://github.com/astral-sh/ruff/issues/970

Ref: https://docs.astral.sh/ruff/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.