Merge branch 'main' of https://github.com/nerfstudio-project/nerfstudio into convert-cameras-json

This commit is contained in:
Vasu Agrawal committed 2024-01-16 10:57:18 -05:00
commit 88c644adcf
84 files changed
+376 -542

No files matched your search

+10 -13
View File
@@ -28,7 +28,7 @@ dependencies = [
"ipywidgets>=7.6",
"jaxtyping>=0.2.15",
"jupyterlab>=3.3.4",
"matplotlib>=3.5.3",
"matplotlib>=3.6.0",
"mediapy>=1.1.0",
"msgpack>=1.0.4",
"msgpack_numpy>=0.4.8",
@@ -47,7 +47,7 @@ dependencies = [
# TODO we can switch back to (non-new) rawpy if they start releasing arm64
# wheels. https://github.com/letmaik/rawpy/issues/171#issuecomment-1572627747
"rawpy>=0.18.1; platform_machine != 'arm64'",
"newrawpy>=0.18.1; platform_machine == 'arm64'",
"newrawpy>=1.0.0b0; platform_machine == 'arm64'",
"requests",
"rich>=12.5.1",
"scikit-image>=0.19.3",
@@ -86,12 +86,11 @@ gen = [
# Development packages
dev = [
"black[jupyter]==23.3.0",
"pre-commit==3.3.2",
"pytest==7.1.2",
"pytest-xdist==2.5.0",
"typeguard==2.13.3",
"ruff==0.0.267",
"ruff==0.1.13",
"sshconf==0.2.5",
# TODO(1480) enable when pycolmap windows wheels are available
# "pycolmap>=0.3.0", # NOTE: pycolmap==0.3.0 is not available on newer python versions
@@ -134,21 +133,12 @@ ns-export = "nerfstudio.scripts.exporter:entrypoint"
ns-dev-test = "nerfstudio.scripts.github.run_actions:entrypoint"
ns-dev-sync-viser-message-defs = "nerfstudio.scripts.viewer.sync_viser_message_defs:entrypoint"
[options]
# equivalent to using --extra-index-url with pip, which is needed for specifying the CUDA version torch and torchvision
dependency_links = [
"https://download.pytorch.org/whl/cu118"
]
[tool.setuptools.packages.find]
include = ["nerfstudio*"]
[tool.setuptools.package-data]
"*" = ["*.cu", "*.json", "py.typed", "setup.bash", "setup.zsh"]
[tool.black]
line-length = 120
[tool.pytest.ini_options]
addopts = "-n=4 --typeguard-packages=nerfstudio --disable-warnings"
testpaths = [
@@ -171,9 +161,11 @@ pythonPlatform = "Linux"
[tool.ruff]
line-length = 120
respect-gitignore = false
select = [
"E", # pycodestyle errors.
"F", # Pyflakes rules.
"I", # isort formatting.
"PLC", # Pylint convention warnings.
"PLE", # Pylint errors.
"PLR", # Pylint refactor recommendations.
@@ -194,3 +186,8 @@ ignore = [
"PLW0603", # Globa statement updates are discouraged.
"PLW2901", # For loop variable overwritten.
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["nerfstudio"]
split-on-trailing-comma = false