mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-26 02:49:57 +08:00
Use pyproject.toml
This commit is contained in:
1 parent
be34bf2281
commit
0be41fe4dd
6 files changed
+42
-39
No files matched your search
+28
-1
@@ -1,2 +1,29 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=42"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
# black
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
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]?$"
|
||||
|
||||
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"
|
||||
testpaths = [
|
||||
"tests",
|
||||
]
|
||||
Reference in new issue
Block a user