mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-26 10:59:53 +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
@@ -90,8 +90,6 @@ class Pipeline(nn.Module):
|
||||
model: The model that will be used
|
||||
"""
|
||||
|
||||
# pylint: disable=abstract-method
|
||||
|
||||
datamanager: DataManager
|
||||
_model: Model
|
||||
world_size: int
|
||||
|
||||
@@ -39,8 +39,6 @@ class DynamicBatchPipelineConfig(VanillaPipelineConfig):
|
||||
class DynamicBatchPipeline(VanillaPipeline):
|
||||
"""Pipeline with logic for changing the number of rays per batch."""
|
||||
|
||||
# pylint: disable=abstract-method
|
||||
|
||||
config: DynamicBatchPipelineConfig
|
||||
datamanager: VanillaDataManager
|
||||
dynamic_num_rays_per_batch: int
|
||||
|
||||
Reference in new issue
Block a user