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/codespell-project/codespell: v2.2.5 → v2.3.0](codespell-project/codespell@v2.2.5...v2.3.0)
- [github.com/frnmst/md-toc: 8.2.0 → 9.0.0](frnmst/md-toc@8.2.0...9.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.4.0...v5.0.0)
- [github.com/commitizen-tools/commitizen: 3.10.0 → v3.29.1](commitizen-tools/commitizen@3.10.0...v3.29.1)
- [github.com/adamchainz/django-upgrade: 1.15.0 → 1.21.0](adamchainz/django-upgrade@1.15.0...1.21.0)
- [github.com/tox-dev/pyproject-fmt: 1.1.0 → 2.2.4](tox-dev/pyproject-fmt@1.1.0...2.2.4)
- [github.com/Riverside-Healthcare/djLint: v1.34.0 → v1.35.2](djlint/djLint@v1.34.0...v1.35.2)
- [github.com/bridgecrewio/checkov.git: 2.4.48 → 3.2.257](https://github.com/bridgecrewio/checkov.git/compare/2.4.48...3.2.257)
- [github.com/astral-sh/ruff-pre-commit: v0.0.291 → v0.6.9](astral-sh/ruff-pre-commit@v0.0.291...v0.6.9)
- [github.com/psf/black-pre-commit-mirror: 23.9.1 → 24.8.0](psf/black-pre-commit-mirror@23.9.1...24.8.0)
- [github.com/adamchainz/blacken-docs: 1.16.0 → 1.18.0](adamchainz/blacken-docs@1.16.0...1.18.0)
- [github.com/PyCQA/bandit: 1.7.5 → 1.7.10](PyCQA/bandit@1.7.5...1.7.10)
  • Loading branch information
pre-commit-ci[bot] authored Oct 7, 2024
1 parent 5886b40 commit 4521294
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ default_language_version:
python: python3.11
exclude: .*migrations\/.*|.git
minimum_pre_commit_version: 3.2.1
default_stages: [commit, push]
default_stages: [Nonepre-commitNone, Nonepre-pushNone]

repos:
# Automatically fix issues

## Codespell - check for common misspellings in files
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.3.0
hooks:
- id: codespell
language: python
Expand All @@ -21,35 +21,35 @@ repos:

## Markdown
- repo: https://github.com/frnmst/md-toc
rev: 8.2.0
rev: 9.0.0
hooks:
- id: md-toc
args: [-p, 'cmark', '-l6']

## Python, TOML, Polyglot, Git
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
### Automatically fix issues
- id: end-of-file-fixer
stages: [commit]
stages: [Nonepre-commitNone]
- id: fix-byte-order-marker
- id: mixed-line-ending
files: "\\.(py|txt|yaml|json|md|toml|lock|cfg|html|sh|js|yml)$"
args:
- --fix=crlf
- id: trailing-whitespace
stages: [commit]
stages: [Nonepre-commitNone]
args: [ --markdown-linebreak-ext=md ]
files: "\\.(py|txt|yaml|json|md|toml|lock|cfg|html|sh|js|yml)$"

### Check for issues
- id: check-added-large-files
args: [--enforce-all]
stages: [commit]
stages: [Nonepre-commitNone]
- id: check-case-conflict
- id: check-executables-have-shebangs
stages: [commit]
stages: [Nonepre-commitNone]
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
Expand All @@ -60,7 +60,7 @@ repos:
- id: detect-private-key
- id: forbid-submodules
- id: no-commit-to-branch
stages: [commit]
stages: [Nonepre-commitNone]
args: ['--pattern', '^(?!((fix|feat|refactor|docs)(\/\d+\-)[\w-]+)$).*']

- id: check-yaml
Expand All @@ -81,7 +81,7 @@ repos:

## Git
- repo: https://github.com/commitizen-tools/commitizen
rev: 3.10.0
rev: v3.29.1
hooks:
- id: commitizen
# - id: commitizen-branch
Expand All @@ -92,39 +92,39 @@ repos:

## CR
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.15.0
rev: 1.21.0
hooks:
- id: django-upgrade
args: [
--target-version, "4.2"
]

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.1.0
rev: 2.2.4
hooks:
- id: pyproject-fmt

# formatter and linter for HTML templates
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.34.0
rev: v1.35.2
hooks:
- id: djlint-django

- repo: https://github.com/bridgecrewio/checkov.git
rev: 2.4.48
rev: 3.2.257
hooks:
- id: checkov

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.291
rev: v0.6.9
hooks:
- id: ruff
args: [
--config=pyproject.toml,
]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
rev: 24.8.0
hooks:
- id: black
args: [
Expand All @@ -135,14 +135,14 @@ repos:
]

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==23.7.0

- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.7.10
hooks:
- id: bandit
args: ["-c", "pyproject.toml", "-r", ".", ]
Expand Down

0 comments on commit 4521294

Please sign in to comment.