diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a6f98a534..230825174e 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.4.2 hooks: - id: black - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.15.2 hooks: - id: pyupgrade args: ["--py38-plus"] - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 exclude: ^fuzz/generated/ - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.8 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.10.0 hooks: - id: mypy additional_dependencies: diff --git a/dev-requirements.txt b/dev-requirements.txt index f50e95bd2e..b93076027d 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,13 +1,13 @@ -black==23.9.1 +black==24.4.2 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==3.7.0; python_version >= "3.8" flake8; python_version < "3.8" -flake8==6.1.0; python_version >= "3.8" -bandit==1.7.5 +flake8==7.0.0; python_version >= "3.8" +bandit==1.7.8 gitlint==v0.19.1 -mypy==v1.5.1 +mypy==v1.10.0 pytest>=7.2.0 pytest-xdist pytest-cov