From 0f52ecc70306a31da20d332ea3477edc3f4daf8c Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Tue, 14 Jan 2025 11:26:29 +0100 Subject: [PATCH] Configure Pyright to report import cycles (#122) --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 96ead4a..55f2b45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,13 +21,16 @@ python = "^3.10" [tool.poetry.group.dev.dependencies] pre-commit = "^4.0.1" ruff = "^0.8.6" -pyright = {extras = ["nodejs"], version = "^1.1.382"} +pyright = { extras = ["nodejs"], version = "^1.1.382" } pytest = "^8.3.3" pytest-asyncio = "^0.24.0" pytest-mock = "^3.14.0" pytest-clarity = "^1.0.1" pytest-cov = "^6.0.0" +[tool.pyright] +reportImportCycles = true + [tool.ruff] output-format = "grouped" show-fixes = true