diff --git a/pyproject.toml b/pyproject.toml index fccfc99a4..78c8e8f05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,6 +76,9 @@ ignore_missing_imports = true namespace_packages = true explicit_package_bases = true mypy_path = "src" +exclude = (?x)( + ^_version.py$ # Ignore generated _version.py files +) [[tool.mypy.overrides]] module = [