mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
* first commit for clickable web viewer * pylint ignore * functional clickable viewer with updated docs * fixed logging
68 lines
1.6 KiB
TOML
68 lines
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "nerfactory"
|
|
version = "0.0.0"
|
|
description = "All-in-one repository for state-of-the-art NeRFs"
|
|
readme = "README.md"
|
|
license = { text="Apache 2.0"}
|
|
requires-python = ">=3.7"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Programming Language :: Python",
|
|
]
|
|
|
|
[project.urls]
|
|
"Documentation" = "https://plenoptix-nerfactory.readthedocs-hosted.com/en/latest/?badge=latest"
|
|
|
|
[project.scripts]
|
|
viewer-bridge-server = "nerfactory.viewer.server.server:run_viewer_bridge_server"
|
|
|
|
# black
|
|
[tool.black]
|
|
line-length = 120
|
|
|
|
# pylint
|
|
[tool.pylint.messages_control]
|
|
max-line-length = 120
|
|
generated-members = ["numpy.*", "torch.*", "cv2.*", "cv.*"]
|
|
good-names-rgxs = "^[_a-zA-Z][_a-z0-9]?$"
|
|
ignore-paths = ["scripts/colmap2nerf.py", "^nerfactory/cuda/.*$", "^tests/cuda/.*$"]
|
|
|
|
disable = [
|
|
"duplicate-code",
|
|
"fixme",
|
|
"logging-fstring-interpolation",
|
|
"too-many-arguments",
|
|
"too-many-branches",
|
|
"too-many-instance-attributes",
|
|
"too-many-locals",
|
|
"unnecessary-ellipsis",
|
|
]
|
|
|
|
#pytest
|
|
[tool.pytest.ini_options]
|
|
addopts = "--typeguard-packages=nerfactory --torchtyping-patch-typeguard --disable-warnings --ignore=tests/cuda"
|
|
testpaths = [
|
|
"tests",
|
|
]
|
|
|
|
# pyright
|
|
[tool.pyright]
|
|
include = ["nerfactory"]
|
|
exclude = ["**/node_modules",
|
|
"**/__pycache__",
|
|
]
|
|
ignore = ["nerfactory/viewer", "nerfactory/cuda"]
|
|
defineConstant = { DEBUG = true }
|
|
|
|
reportMissingImports = true
|
|
reportMissingTypeStubs = false
|
|
reportPrivateImportUsage = false
|
|
reportUndefinedVariable = false
|
|
|
|
pythonVersion = "3.8"
|
|
pythonPlatform = "Linux"
|