mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +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
@@ -14,14 +14,15 @@
|
||||
|
||||
"""Utility helper functions for generative 3D models"""
|
||||
|
||||
import torch
|
||||
from torch import Tensor
|
||||
from jaxtyping import Float
|
||||
from typing_extensions import Literal
|
||||
from typing import Union
|
||||
|
||||
from nerfstudio.generative.stable_diffusion import StableDiffusion
|
||||
import torch
|
||||
from jaxtyping import Float
|
||||
from torch import Tensor
|
||||
from typing_extensions import Literal
|
||||
|
||||
from nerfstudio.generative.deepfloyd import DeepFloyd
|
||||
from nerfstudio.generative.stable_diffusion import StableDiffusion
|
||||
|
||||
|
||||
class PositionalTextEmbeddings:
|
||||
|
||||
Reference in new issue
Block a user