Use ruff as linter and formatter (#2765)

* Switch from black to ruff format

* Sort dependencies with ruff check

* Run ruff format
This commit is contained in:
Matthew Hoffman authored and GitHub committed 2024-01-15 13:43:14 -08:00
1 parent 69ed6d4093
commit f0aadf9de8
83 files changed
+208 -429

No files matched your search

+8 -9
View File
@@ -14,15 +14,14 @@ In addition to code contributions, we also encourage contributors to add their o
Below are the various tooling features our team uses to maintain this codebase.
| Tooling | Support |
| --------------- | ---------------------------------------------------------- |
| Formatting | [Black](https://black.readthedocs.io/en/stable/) |
| Linter | [Ruff](https://beta.ruff.rs/docs/) |
| Type checking | [Pyright](https://github.com/microsoft/pyright) |
| Testing | [pytest](https://docs.pytest.org/en/7.1.x/) |
| Docs | [Sphinx](https://www.sphinx-doc.org/en/master/) |
| Docstring style | [Google](https://google.github.io/styleguide/pyguide.html) |
| JS Linting | [eslint](https://eslint.org/) |
| Tooling | Support |
| -------------------- | ---------------------------------------------------------- |
| Formatting & Linting | [Ruff](https://beta.ruff.rs/docs/) |
| Type checking | [Pyright](https://github.com/microsoft/pyright) |
| Testing | [pytest](https://docs.pytest.org/en/7.1.x/) |
| Docs | [Sphinx](https://www.sphinx-doc.org/en/master/) |
| Docstring style | [Google](https://google.github.io/styleguide/pyguide.html) |
| JS Linting | [eslint](https://eslint.org/) |
## Requirements