diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 956f9caaf6f..973a01c2e45 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1311,7 +1311,7 @@ repos: - looseversion - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v1.0.0 hooks: - id: mypy alias: mypy-tools diff --git a/setup.cfg b/setup.cfg index ae12e49a0c1..f99baf45528 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ owner = root group = root [mypy] -python_version = 3.9 +implicit_optional = True show_error_codes = True warn_return_any = True warn_unused_configs = True