jazzband / django-waffle

A feature flipper for Django
https://waffle.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.12k stars 258 forks source link

Use ruff to lint Python code #488

Closed cclauss closed 4 months ago

cclauss commented 1 year ago

Codespell can find and fix common misspellings in text files. It’s designed primarily for checking misspelled words in source code, but it can be used with other files as well.

Ruff supports over 600 lint rules and can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing (in Rust) tens or hundreds of times faster than any individual tool.

ruff --output-format=github . provides intuitive GitHub Annotations to contributors...

image

Related to