YYou3 commited on
Commit
4af9980
·
1 Parent(s): 9416174

update with pyright

Browse files
Files changed (2) hide show
  1. .vscode/settings.json +5 -0
  2. pyproject.toml +7 -1
.vscode/settings.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "python.analysis.extraPaths": [
3
+ "./.venv/Lib/site-packages"
4
+ ]
5
+ }
pyproject.toml CHANGED
@@ -14,4 +14,10 @@ dev = [
14
  "ruff>=0.14.3",
15
  ]
16
  [tool.ruff.lint]
17
- extend-select = ["B"]
 
 
 
 
 
 
 
14
  "ruff>=0.14.3",
15
  ]
16
  [tool.ruff.lint]
17
+ extend-select = ["B"]
18
+ [tool.pyright]
19
+ exclude = ["**/node_modules",
20
+ "**/__pycache__"
21
+ ]
22
+ defineConstant = { DEBUG = true }
23
+ reportMissingImports = "error"