pre-commit: Fix mypy hook (#233)

* Install missing deps. In the future we probably just want to reuse
   the dev environment (e.g. poetry shell) to have same result for hook
   and explicit execution in venv.
This commit is contained in:
Dominique Lasserre 2024-12-11 00:21:07 +01:00 committed by GitHub
parent 6e52c9bef2
commit e4aa267390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
exclude: \.(json|csv)$ exclude: \.(json|csv)$
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 rev: v5.0.0
hooks: hooks:
- id: check-merge-conflict - id: check-merge-conflict
- id: check-toml - id: check-toml
@ -31,4 +31,5 @@ repos:
additional_dependencies: additional_dependencies:
- "types-requests==2.32.0.20241016" - "types-requests==2.32.0.20241016"
- "pandas-stubs==2.2.3.241009" - "pandas-stubs==2.2.3.241009"
- "numpy==2.1.3"
pass_filenames: false pass_filenames: false