Fix typing errors (#229)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-07-29 14:17:38 -07:00
1 parent be001e8ebe
commit 58212543f5
30 files changed
+236 -147

No files matched your search

+17 -1
View File
@@ -43,4 +43,20 @@ disable = [
addopts = "--typeguard-packages=nerfactory --torchtyping-patch-typeguard --disable-warnings --ignore=tests/cuda --ignore=tests/viewer"
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
pythonVersion = "3.8"
pythonPlatform = "Linux"