diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f0d551d..1f4b7b58 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Commitizen enforces semantic and conventional commit messages. - repo: https://github.com/commitizen-tools/commitizen - rev: 2ca29f9297911f8f5a4e8f97100b7832f045e8d3 # frozen: v4.13.10 + rev: 286da5488db79f4cf5261e14a3c8976d89b5aa70 # frozen: v4.16.3 hooks: - id: commitizen name: Check conventional commit message @@ -32,7 +32,7 @@ repos: # Add Black code formatters. - repo: https://github.com/ambv/black - rev: c6755bb741b6481d6b3d3bb563c83fa060db96c9 # frozen: 26.3.1 + rev: 87928e6d6761a4a6d22250e1fee5601b3998086e # frozen: 26.5.1 hooks: - id: black name: Format code @@ -43,7 +43,7 @@ repos: - id: blacken-docs name: Format code in docstrings args: [--line-length, '120'] - additional_dependencies: [black==26.3.1] + additional_dependencies: [black==26.5.1] # Upgrade and rewrite Python idioms. - repo: https://github.com/asottile/pyupgrade @@ -63,7 +63,7 @@ repos: name: Check flake8 issues files: ^src/package/|^tests/ types: [text, python] - additional_dependencies: [flake8-bugbear==25.11.29, flake8-builtins==3.1.0, flake8-comprehensions==3.17.0, flake8-docstrings==1.7.0, flake8-logging==1.8.0, flake8-mutable==1.2.0, flake8-noqa==1.4.0, flake8-print==5.0.0, flake8-pyi==25.5.0, flake8-pytest-style==2.2.0, flake8-rst-docstrings==0.4.0, pep8-naming==0.15.1] + additional_dependencies: [flake8-bugbear==25.11.29, flake8-builtins==3.1.0, flake8-comprehensions==3.17.0, flake8-docstrings==1.7.0, flake8-logging==1.8.0, flake8-mutable==1.2.0, flake8-noqa==1.5.0, flake8-print==5.0.0, flake8-pyi==26.5.0, flake8-pytest-style==2.2.0, flake8-rst-docstrings==0.4.0, pep8-naming==0.15.1] args: [--config, .flake8] # Run Pylint from the local repo to make sure venv packages