From 1afbc17accb46651ccc20ef11d7c1733a8c38a6c Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Wed, 8 Jan 2020 10:11:34 +0100 Subject: [PATCH] Remove mypy from pre-commit as long its always a full run Without supporting an incremental mode, the runtime overhead (reportably at 20s) is unacceptable for efficient development. We can reactivate once a stable, incremental mode works for `pandas`. --- .pre-commit-config.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 809764a20a713..88548f6c2f678 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,15 +16,3 @@ repos: - id: isort language: python_venv exclude: ^pandas/__init__\.py$|^pandas/core/api\.py$ -- repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.730 - hooks: - - id: mypy - # We run mypy over all files because of: - # * changes in type definitions may affect non-touched files. - # * Running it with `mypy pandas` and the filenames will lead to - # spurious duplicate module errors, - # see also https://github.com/pre-commit/mirrors-mypy/issues/5 - pass_filenames: false - args: - - pandas