From 9732dbee786504259768f94cac5fb5d0bf91d5ac Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 1 Nov 2024 01:12:04 +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..01ec6474b3 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.0 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.7.10 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.13.0 hooks: - id: mypy additional_dependencies: diff --git a/dev-requirements.txt b/dev-requirements.txt index f50e95bd2e..8a8ea8d02b 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.7.10 gitlint==v0.19.1 -mypy==v1.5.1 +mypy==v1.13.0 pytest>=7.2.0 pytest-xdist pytest-cov