diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a006b8c8..b2192324 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_language_version: repos: # basic hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -23,14 +23,14 @@ repos: - id: detect-private-key - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: [ "--profile", "black", "--filter-files" ] # security linter on - repo: https://github.com/pycqa/bandit - rev: 1.7.5 + rev: 1.7.9 hooks: - id: bandit name: check security by Bandit @@ -38,7 +38,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.1.6' + rev: 'v0.6.5' hooks: - id: ruff name: lint by Ruff @@ -46,14 +46,14 @@ repos: # uncompromise python formatter - repo: https://github.com/psf/black - rev: 23.11.0 + rev: 24.8.0 hooks: - id: black name: format by black exclude: ^.*\b(migrations)\b.*$ - repo: https://github.com/Riverside-Healthcare/djlint - rev: 'v1.34.0' # replace with the latest tag on GitHub + rev: 'v1.35.2' # replace with the latest tag on GitHub hooks: - id: djlint-django entry: djlint --reformat