From 124ea3207048facae4e69d87830753dff257ca35 Mon Sep 17 00:00:00 2001 From: Mathias Hauser Date: Mon, 8 Feb 2021 18:08:25 +0100 Subject: [PATCH] update pre-commit hooks (mypy) --- .pre-commit-config.yaml | 2 +- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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