mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 11:37:21 -06:00
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
This commit is contained in:
commit
148c6a6c23
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user