Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](PyCQA/isort@5.12.0...5.13.2)
- [github.com/pycqa/bandit: 1.7.5 → 1.7.9](PyCQA/bandit@1.7.5...1.7.9)
- [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.5.5](astral-sh/ruff-pre-commit@v0.1.6...v0.5.5)
- [github.com/psf/black: 23.11.0 → 24.4.2](psf/black@23.11.0...24.4.2)
- [github.com/Riverside-Healthcare/djlint: v1.34.0 → v1.34.1](djlint/djLint@v1.34.0...v1.34.1)
  • Loading branch information
pre-commit-ci[bot] authored Jul 29, 2024
1 parent 0c021d0 commit 0dd20d8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,37 +23,37 @@ 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
args: [ '-iii', '-ll' ]

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.1.6'
rev: 'v0.5.5'
hooks:
- id: ruff
name: lint by Ruff
args: [ --fix, --exit-non-zero-on-fix ]

# uncompromise python formatter
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.4.2
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.34.1' # replace with the latest tag on GitHub
hooks:
- id: djlint-django
entry: djlint --reformat
Expand Down

0 comments on commit 0dd20d8

Please sign in to comment.