mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +08:00
Switch to ruff (#1939)
* `isort` -> `ruff` * `pylint` -> `ruff` * Remove line * More minor cleanup * Better documentation for rules we are enabling * Fix gitignore, run black * vscode settings --------- Co-authored-by: Matt Tancik <mattt4001@gmail.com>
This commit is contained in:
1 parent
814db32ec4
commit
d542646c72
79 files changed
+158
-237
No files matched your search
@@ -32,13 +32,10 @@ jobs:
|
||||
- name: Check notebook cell metadata
|
||||
run: |
|
||||
python ./nerfstudio/scripts/docs/add_nb_tags.py --check
|
||||
- name: Run isort
|
||||
run: isort docs/ nerfstudio/ tests/ --profile black --check
|
||||
- name: Run Ruff
|
||||
run: ruff docs/ nerfstudio/ tests/
|
||||
- name: Run Black
|
||||
run: black docs/ nerfstudio/ tests/ --check
|
||||
- name: Python Pylint
|
||||
run: |
|
||||
pylint nerfstudio tests
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
Reference in new issue
Block a user