Add [tool.pyright] to pyproject.toml and fix #10431
@@ -11,3 +11,12 @@ profile = "black"
[tool.pylint]
max-line-length = 120
+
+[tool.pyright]
+include = ["netbox"]
+exclude = [
+ "**/node_modules",
+ "**/__pycache__",
+]
+reportMissingImports = true
+reportMissingTypeStubs = false