summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8536c56..29ff89d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,13 +25,12 @@ repos:
hooks:
- id: flake8
additional_dependencies: [flake8-comprehensions]
- # TODO: This is currently failing for attrs classes in CI, but passes locally. Mypy run without pre-commit also passes.
- # - repo: https://github.com/pre-commit/mirrors-mypy
- # rev: v0.910
- # hooks:
- # - id: mypy
- # files: requests_cache
- # additional_dependencies: [types-itsdangerous, types-requests, types-pyyaml, types-redis, types-ujson]
+ - repo: https://github.com/pre-commit/mirrors-mypy
+ rev: v0.910
+ hooks:
+ - id: mypy
+ files: requests_cache
+ additional_dependencies: [attrs, types-itsdangerous, types-requests, types-pyyaml, types-redis, types-ujson]
- repo: https://github.com/yunojuno/pre-commit-xenon
rev: v0.1
hooks: