From f467dc9b04bf5454106e91eab11d16e4d2c3dc6d Mon Sep 17 00:00:00 2001 From: Daulet Amirkhanov Date: Fri, 31 Oct 2025 16:53:58 +0000 Subject: [PATCH] dev: configure pyright to flag syntax issues --- cognee-mcp/pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cognee-mcp/pyproject.toml b/cognee-mcp/pyproject.toml index f37bf337c..9d78c7309 100644 --- a/cognee-mcp/pyproject.toml +++ b/cognee-mcp/pyproject.toml @@ -40,3 +40,11 @@ allow-direct-references = true [project.scripts] cognee = "src:main" cognee-mcp = "src:main_mcp" + +[tool.pyright] +typeCheckingMode = "basic" +reportMissingImports = "error" +reportUndefinedVariable = "error" +reportMissingModuleSource = "error" +reportUnusedImport = "warning" +reportUnusedVariable = "warning"