diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95a3d6aa..c3dbca3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: # Sort imports. - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: Sort import statements @@ -31,7 +31,7 @@ repos: # Add Black code formatters. - repo: https://github.com/ambv/black - rev: 22.12.0 + rev: 24.4.2 hooks: - id: black name: Format code @@ -46,7 +46,7 @@ repos: # Upgrade and rewrite Python idioms. - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.15.2 hooks: - id: pyupgrade name: Upgrade code idioms @@ -56,13 +56,13 @@ repos: # Similar to pylint, with a few more/different checks. For more available # extensions: https://github.com/DmytroLitvinov/awesome-flake8-extensions - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 name: Check flake8 issues files: ^src/package/|^tests/ types: [text, python] - additional_dependencies: [flake8-bugbear==23.9.16, flake8-builtins==2.2.0, flake8-comprehensions==3.14.0, flake8-docstrings==1.7.0, flake8-logging==1.4.0, flake8-mutable==1.2.0, flake8-noqa==1.3.2, flake8-print==5.0.0, flake8-pyi==23.11.0, flake8-pytest-style==1.7.2, flake8-rst-docstrings==0.3.0, pep8-naming==0.13.3] + additional_dependencies: [flake8-bugbear==24.4.26, flake8-builtins==2.5.0, flake8-comprehensions==3.14.0, flake8-docstrings==1.7.0, flake8-logging==1.6.0, flake8-mutable==1.2.0, flake8-noqa==1.4.0, flake8-print==5.0.0, flake8-pyi==24.4.1, flake8-pytest-style==2.0.0, flake8-rst-docstrings==0.3.0, pep8-naming==0.13.3] args: [--config, .flake8] # Run Pylint from the local repo to make sure venv packages @@ -90,7 +90,7 @@ repos: # Check for potential security issues. - repo: https://github.com/PyCQA/bandit - rev: 1.7.5 + rev: 1.7.8 hooks: - id: bandit name: Check for security issues @@ -102,7 +102,7 @@ repos: # Enable a whole bunch of useful helper hooks, too. # See https://pre-commit.com/hooks.html for more hooks. - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-ast - id: check-case-conflict @@ -143,7 +143,7 @@ repos: # Check and prettify the configuration files. - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - rev: v2.11.0 + rev: v2.13.0 hooks: - id: pretty-format-ini args: [--autofix] @@ -155,7 +155,7 @@ repos: # Check GitHub Actions workflow files. - repo: https://github.com/Mateusz-Grzelinski/actionlint-py - rev: v1.6.26.11 + rev: v1.6.27.13 hooks: - id: actionlint