mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 14:23: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
@@ -61,7 +61,7 @@ def test_broadcasting():
|
||||
tensor_dataclass = DummyTensorDataclass(a=a, b=b)
|
||||
|
||||
|
||||
def test_tensor_ops(): # pylint: disable=(too-many-statements)
|
||||
def test_tensor_ops():
|
||||
"""Test tensor operations"""
|
||||
|
||||
a = torch.ones((4, 6, 3))
|
||||
|
||||
Reference in new issue
Block a user