diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a78090d..8f5c3f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: # Commitizen enforces semantic and conventional commit messages. - repo: https://github.com/commitizen-tools/commitizen - rev: 4fbeae7861663ecf4b4989211eba41c1a3fb1227 # frozen: v4.13.9 + rev: 286da5488db79f4cf5261e14a3c8976d89b5aa70 # frozen: v4.16.3 hooks: - id: commitizen name: Check conventional commit message @@ -67,7 +67,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 @@ -81,7 +81,7 @@ repos: files: ^backend/ types: [text, python] 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 @@ -101,7 +101,7 @@ repos: name: Check flake8 issues files: ^backend/src/template_jobs/|^backend/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, backend/.flake8] # Run Pylint from the local repo to make sure venv packages