mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-24 00:26:08 +08:00
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:
1 parent
69ed6d4093
commit
f0aadf9de8
83 files changed
+208
-429
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user