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:
Brent YiandMatt Tancik authored and GitHub committed 2023-05-17 10:08:14 -07:00
1 parent 814db32ec4
commit d542646c72
79 files changed
+158 -237

No files matched your search

-2
View File
@@ -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
-2
View File
@@ -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