diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc3bc8f2ba8..8bd67c81964 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: # - id: velin # args: ["--write", "--compact"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.790 + rev: v0.800 hooks: - id: mypy exclude: "properties|asv_bench" diff --git a/setup.cfg b/setup.cfg index a695191bf02..72d28d3ca6f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -164,6 +164,8 @@ force_to_top = true default_section = THIRDPARTY known_first_party = xarray +[mypy] + # Most of the numerical computing stack doesn't have type annotations yet. [mypy-affine.*] ignore_missing_imports = True