From 6db7e96bc1b1f8eab7a5eca00fd681b578249603 Mon Sep 17 00:00:00 2001 From: Dominique Lasserre Date: Wed, 11 Dec 2024 00:21:07 +0100 Subject: [PATCH] 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. --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b62fb18..20856d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: \.(json|csv)$ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: check-toml @@ -31,4 +31,5 @@ repos: additional_dependencies: - "types-requests==2.32.0.20241016" - "pandas-stubs==2.2.3.241009" + - "numpy==2.1.3" pass_filenames: false