awesome-python-typing icon indicating copy to clipboard operation
awesome-python-typing copied to clipboard

Ruff: A new, fast and correct Python checker/linter

Open djhenderson opened this issue 2 years ago • 7 comments

Please have a look at ruff.

An extremely fast Python linter, written in Rust. https://github.com/charliermarsh/ruff

Notes on ruff https://whynothugo.nl/journal/2023/01/20/notes-on-ruff/

A pre-commit hook for Ruff. https://github.com/charliermarsh/ruff-pre-commit

I have no association with ruff or its developer(s).

djhenderson avatar Feb 07 '23 20:02 djhenderson

How's it related to typing?

orsinium avatar Feb 08 '23 07:02 orsinium

How's it related to typing?

For example, Ruff reimplements flake8-type-checking, which is on this list.

monosans avatar Feb 08 '23 15:02 monosans

IDK, that feels far-fetched 🤔

@sobolevn what do you think?

orsinium avatar Feb 09 '23 07:02 orsinium

IMHO ruff is now so mainstream, and in so many other :dark_sunglasses: lists, that is not necessary to include it here

cleder avatar May 12 '23 10:05 cleder

Ruff being cool doesn't mean it belongs on every list. I can see what you mean but I'm still not 100% sure it fits there. IDK.

orsinium avatar May 12 '23 10:05 orsinium

Currently, ruff has many typing-related rulesets:

Most of these rules aren't found in typecheckers like mypy and pyright, and are very reasonable IMHO.

jorenham avatar Apr 02 '24 14:04 jorenham

Considering the current progress of Ruff, I believe now it perfectly fits the list. Contributions are welcome!

orsinium avatar Apr 02 '24 15:04 orsinium