mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
* occupancy grid in progress * visualizing occupancy grid. currently restructing field and renderer head outputs * black and pylint. broke nerfw and semantic nerf but it's okay * get_project_root
29 lines
662 B
TOML
29 lines
662 B
TOML
[build-system]
|
|
requires = ["setuptools>=42"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
# 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 = ["mattport/cuda", "tests/cuda", "nerfw.py", "semantic_nerf.py"]
|
|
|
|
disable = [
|
|
"too-many-arguments",
|
|
"fixme",
|
|
"too-many-locals",
|
|
"too-many-instance-attributes",
|
|
"duplicate-code",
|
|
]
|
|
|
|
#pytest
|
|
[tool.pytest.ini_options]
|
|
addopts = "--typeguard-packages=mattport --torchtyping-patch-typeguard --disable-warnings --ignore=tests/cuda"
|
|
testpaths = [
|
|
"tests",
|
|
] |