From c348c763f85f310d88ed2af2575bbd2121aa96ba Mon Sep 17 00:00:00 2001 From: Jann Stute <46534683+Computerdores@users.noreply.github.com> Date: Tue, 8 Oct 2024 04:04:22 +0200 Subject: [PATCH] fix: enable mypy to run from project directory (#520) --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index ca949c6b8..05e1a51b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ disable_error_code = ["func-returns-value", "import-untyped"] explicit_package_bases = true warn_unused_ignores = true check_untyped_defs = true +mypy_path = ["tagstudio"] [[tool.mypy.overrides]] module = "tests.*"