From d9d4b44250a6f21427c98f52e29aa19b01e0e0a5 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 1 Jan 2025 01:12:15 +0000 Subject: [PATCH] chore: update pre-commit config --- .pre-commit-config.yaml | 12 ++++++------ dev-requirements.txt | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a6f98a534..bc2fc651d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,28 +1,28 @@ repos: - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.9.1 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.19.1 hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.1 hooks: - id: flake8 exclude: ^fuzz/generated/ - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.8.0 hooks: - id: bandit args: ["-c", "bandit.conf"] @@ -33,7 +33,7 @@ repos: - id: gitlint - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.14.1 hooks: - id: mypy additional_dependencies: diff --git a/dev-requirements.txt b/dev-requirements.txt index f50e95bd2e..b8f3a69fa6 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,13 +1,13 @@ -black==23.9.1 +black==24.10.0 isort; python_version < "3.8" -isort==5.12.0; python_version >= "3.8" +isort==5.13.2; python_version >= "3.8" pre-commit; python_version < "3.8" -pre-commit==3.4.0; python_version >= "3.8" +pre-commit==4.0.1; python_version >= "3.8" flake8; python_version < "3.8" -flake8==6.1.0; python_version >= "3.8" -bandit==1.7.5 +flake8==7.1.1; python_version >= "3.8" +bandit==1.8.0 gitlint==v0.19.1 -mypy==v1.5.1 +mypy==v1.14.1 pytest>=7.2.0 pytest-xdist pytest-cov