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

@@ -71,10 +71,7 @@ def test_nerfstudio_dataparser_split_filelist(mocked_dataset):
f.truncate(0)
json.dump(data, f)
from nerfstudio.data.dataparsers.nerfstudio_dataparser import (
Nerfstudio,
NerfstudioDataParserConfig,
)
from nerfstudio.data.dataparsers.nerfstudio_dataparser import Nerfstudio, NerfstudioDataParserConfig
parser: Nerfstudio = NerfstudioDataParserConfig(
data=mocked_dataset,