mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-02 13:59:10 +08:00
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:
1 parent
69ed6d4093
commit
f0aadf9de8
83 files changed
+208
-429
No files matched your search
@@ -20,10 +20,11 @@ from typing import Any, List, Literal, Optional, Tuple, Union
|
||||
import numpy as np
|
||||
import torch
|
||||
from jaxtyping import Float
|
||||
from torch import nn
|
||||
|
||||
from nerfstudio.cameras.cameras import Cameras, CameraType
|
||||
from nerfstudio.data.scene_box import SceneBox
|
||||
from nerfstudio.models.base_model import Model
|
||||
from torch import nn
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in new issue
Block a user