diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d9a5390764..794fe080cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,6 @@ repos: rev: v0.942 hooks: - id: mypy - exclude: examples/simple/setup.py additional_dependencies: [types-requests] - repo: https://github.com/pre-commit/mirrors-prettier diff --git a/pyproject.toml b/pyproject.toml index a1b718623a..bfe9474d94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -141,9 +141,8 @@ strict_equality = true warn_unused_configs = true warn_unused_ignores = true warn_redundant_casts = true -exclude = [ - "examples/simple/setup.py", -] +explicit_package_bases = true +namespace_packages = true [[tool.mypy.overrides]]