From b4b19667f4e10b64c59b2f21d79c8a904328058d Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 30 Mar 2025 23:15:20 +0200 Subject: [PATCH] Add pyright config to project config --- pyproject.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e7170be1..9fefaa8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,14 @@ exclude = ["docs/*"] max_line_length = 99 ignore = ["E133", "E221", "E226", "E228", "E241", "W503"] +[tool.pyright] +include = ["novelwriter"] +exclude = ["**/__pycache__"] + +reportIncompatibleMethodOverride = false + +pythonVersion = "3.10" + [tool.coverage.run] branch = false