add: support for ruff as a Python linter and fixer (#4347)

this commit adds ruff as both a Python linter and fixer, together with
some tests and documentation.

ruff repo: https://github.com/charliermarsh/ruff
This commit is contained in:
Yining authored and GitHub committed 2022-10-31 21:55:14 +09:00
1 parent 06efbdd25a
commit 483d056528
9 files changed
+309

No files matched your search

+1
View File
@@ -492,6 +492,7 @@ formatting.
* [pyre](https://github.com/facebook/pyre-check) :warning:
* [pyright](https://github.com/microsoft/pyright)
* [reorder-python-imports](https://github.com/asottile/reorder_python_imports)
* [ruff](https://github.com/charliermarsh/ruff)
* [unimport](https://github.com/hakancelik96/unimport)
* [vulture](https://github.com/jendrikseipp/vulture) :warning: :floppy_disk:
* [yapf](https://github.com/google/yapf)