awesome-python-typing
awesome-python-typing copied to clipboard
Ruff: A new, fast and correct Python checker/linter
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).
How's it related to typing?
How's it related to typing?
For example, Ruff reimplements flake8-type-checking, which is on this list.
IDK, that feels far-fetched 🤔
@sobolevn what do you think?
IMHO ruff is now so mainstream, and in so many other :dark_sunglasses: lists, that is not necessary to include it here
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.
Currently, ruff has many typing-related rulesets:
pyupgradeflake8-annotationsflake8-future-annotationsflake8-pyiflake8-type-checkingpygrep-hooks(specificallyblanket-type-ignore)pylint- ruff-specific rules
Most of these rules aren't found in typecheckers like mypy and pyright, and are very reasonable IMHO.
Considering the current progress of Ruff, I believe now it perfectly fits the list. Contributions are welcome!