From 3e08ce7ca5a9492a45fa4d3118ea646984d9eb66 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 1 Dec 2024 01:57:24 +0000 Subject: [PATCH] chore: update pre-commit config --- .pre-commit-config.yaml | 8 ++++---- dev-requirements.txt | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d48d3ff785..fbce996a31 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,13 +14,13 @@ repos: exclude: ^fuzz/generated/ - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black exclude: ^fuzz/generated/ - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.19.0 hooks: - id: pyupgrade exclude: ^fuzz/generated/ @@ -33,7 +33,7 @@ repos: exclude: ^fuzz/generated/|bandit\.conf$ - repo: https://github.com/PyCQA/bandit - rev: 1.7.9 + rev: 1.8.0 hooks: - id: bandit exclude: ^fuzz/generated/ @@ -45,7 +45,7 @@ repos: - id: gitlint - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: diff --git a/dev-requirements.txt b/dev-requirements.txt index 509182adb4..88e2db5498 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,14 +1,14 @@ -black==24.8.0 +black==24.10.0 isort; python_version < "3.8" isort==5.13.2; python_version >= "3.8" pre-commit; python_version <= "3.8" -pre-commit==3.8.0; python_version > "3.8" +pre-commit==4.0.1; python_version > "3.8" flake8; python_version < "3.8" flake8==7.1.1; python_version >= "3.8" -bandit==1.7.9 +bandit==1.8.0 gitlint==v0.19.1 interrogate -mypy==v1.11.2 +mypy==v1.13.0 pytest>=7.2.0 pytest-xdist pytest-cov