dev: configure pyright to flag syntax issues
This commit is contained in:
parent
6996cdb887
commit
f467dc9b04
1 changed files with 8 additions and 0 deletions
|
|
@ -40,3 +40,11 @@ allow-direct-references = true
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
cognee = "src:main"
|
cognee = "src:main"
|
||||||
cognee-mcp = "src:main_mcp"
|
cognee-mcp = "src:main_mcp"
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
typeCheckingMode = "basic"
|
||||||
|
reportMissingImports = "error"
|
||||||
|
reportUndefinedVariable = "error"
|
||||||
|
reportMissingModuleSource = "error"
|
||||||
|
reportUnusedImport = "warning"
|
||||||
|
reportUnusedVariable = "warning"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue