Skip to content

[Feature request] Use ruff to replace flake8 and pylint #462

@bebound

Description

@bebound

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

Disregard some lint rules of pylint are missed, it can replace azdev linter. astral-sh/ruff#970

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions