diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-21 18:39:37 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-21 19:03:07 +0200 |
commit | c13ee1dd19c952b842cccd64f0ae631334002d27 (patch) | |
tree | 86a67b548ed716a1adfec7f7a1a6479679758204 /.pre-commit-config.yaml | |
parent | b7ae97c2b013621a552e1a2799de3d908156fde4 (diff) | |
download | astroid-git-c13ee1dd19c952b842cccd64f0ae631334002d27.tar.gz |
Add mypy configuration but excluding all files in pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5021833f..35d492b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: exclude: tests/testdata args: [--py36-plus] - repo: https://github.com/PyCQA/isort - rev: 5.8.0 + rev: 5.9.1 hooks: - id: isort exclude: tests/testdata @@ -61,6 +61,18 @@ repos: # "--load-plugins=pylint.extensions.docparams", We're not ready for that ] exclude: tests/testdata|conf.py + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v0.902 + hooks: + - id: mypy + name: mypy + entry: mypy + language: python + types: [python] + args: [] + require_serial: true + additional_dependencies: ["types-pkg_resources==0.1.2"] + exclude: tests/testdata| # exclude everything, we're not ready - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.3.1 hooks: |