From c37600e94c5270f24ab8f82bfaf681f687e23a6d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:13:58 +0000 Subject: [PATCH] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/asottile/setup-cfg-fmt: v2.5.0 → v2.7.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.5.0...v2.7.0) - [github.com/asottile/pyupgrade: v3.15.2 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.19.1) - [github.com/psf/black: 24.3.0 → 24.10.0](https://github.com/psf/black/compare/24.3.0...24.10.0) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.14.1) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.1) - [github.com/kynan/nbstripout: 0.7.1 → 0.8.1](https://github.com/kynan/nbstripout/compare/0.7.1...0.8.1) - [github.com/mgedmin/check-manifest: 0.49 → 0.50](https://github.com/mgedmin/check-manifest/compare/0.49...0.50) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7ba2a1b7..4bce06df1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: exclude: ^(attic|src/pygama/flow/datagroup.py) repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.5.0" + rev: "v5.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -25,7 +25,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/setup-cfg-fmt - rev: "v2.5.0" + rev: "v2.7.0" hooks: - id: setup-cfg-fmt @@ -35,18 +35,18 @@ repos: - id: isort - repo: https://github.com/asottile/pyupgrade - rev: "v3.15.2" + rev: "v3.19.1" hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/psf/black - rev: "24.3.0" + rev: "24.10.0" hooks: - id: black-jupyter - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.9.0" + rev: "v1.14.1" hooks: - id: mypy files: src @@ -59,7 +59,7 @@ repos: args: [--all] - repo: https://github.com/PyCQA/flake8 - rev: "7.0.0" + rev: "7.1.1" hooks: - id: flake8 additional_dependencies: [ @@ -70,20 +70,20 @@ repos: args: ["--extend-ignore", "E203,E501"] - repo: https://github.com/kynan/nbstripout - rev: "0.7.1" + rev: "0.8.1" hooks: - id: nbstripout args: ["--drop-empty-cells", "--extra-keys", "metadata.kernelspec metadata.language_info"] - repo: https://github.com/mgedmin/check-manifest - rev: "0.49" + rev: "0.50" hooks: - id: check-manifest stages: [manual] - repo: https://github.com/codespell-project/codespell - rev: "v2.2.6" + rev: "v2.3.0" hooks: - id: codespell additional_dependencies: