Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #258

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.6'
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.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.34.1' # replace with the latest tag on GitHub
hooks:
- id: djlint-django
entry: djlint --reformat
Expand Down
Loading