diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59d767ef..720710b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,14 +4,8 @@ repos: hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.11.2 hooks: - - id: mypy - name: mypy with Python 3.9 - files: src/cabinetry - additional_dependencies: ["numpy>=1.22", "boost-histogram>=1.0.1", "click>=8", "types-tabulate", "types-PyYAML", "hist>=2.3.0"] - # numpy 1.25 is no longer compatible with Python 3.8, so use Python >=3.9 for type checking - args: ["--python-version=3.9"] - id: mypy name: mypy with Python 3.12 files: src/cabinetry