Explorar o código

Merge pull request #10432 from netbox-community/10431-pylance-is-no-longer-working-by-default-in-vscode

Add [tool.pyright] to pyproject.toml and fix #10431
Jonathan Senecal %!s(int64=3) %!d(string=hai) anos
pai
achega
148c6a6c23
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      pyproject.toml

+ 9 - 0
pyproject.toml

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