mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
45 lines
1.1 KiB
TOML
45 lines
1.1 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-pyrad.readthedocs-hosted.com/en/latest/?badge=latest"
|
|
|
|
# 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 = ["pyrad/ngp_pl/.*$", "scripts/colmap2nerf.py", "^pyrad/cuda/.*$", "^tests/cuda/.*$", "^pyrad/viewer/.*$", "^tests/viewer/.*$"]
|
|
|
|
disable = [
|
|
"too-many-arguments",
|
|
"fixme",
|
|
"too-many-branches",
|
|
"too-many-locals",
|
|
"too-many-instance-attributes",
|
|
"duplicate-code",
|
|
]
|
|
|
|
#pytest
|
|
[tool.pytest.ini_options]
|
|
addopts = "--typeguard-packages=pyrad --torchtyping-patch-typeguard --disable-warnings --ignore=tests/cuda --ignore=tests/viewer"
|
|
testpaths = [
|
|
"tests",
|
|
] |