Skip to content
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
26 changes: 13 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ci:
repos:
# Best Practices
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-builtin-literals
- id: check-executables-have-shebangs
Expand All @@ -33,19 +33,19 @@ repos:

# Framework
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.25.0
rev: 1.29.1
hooks:
- id: django-upgrade
args: [--target-version, "4.2"]

# Formatting
- repo: https://github.com/psf/black
rev: 25.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: 6.0.1
rev: 7.0.0
hooks:
- id: isort
args: [
Expand All @@ -56,54 +56,54 @@ repos:
]

- repo: https://github.com/maxwinterstein/shfmt-py
rev: v3.11.0.2
rev: v3.12.0.1
hooks:
- id: shfmt

# Linting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
rev: v0.14.10
hooks:
- id: ruff-check
args: [--fix]
exclude: ^(test_utils/|migrations/|setup\.py)$

- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.1b3
rev: v2.14.0
hooks:
- id: hadolint
args: [--config, .hadolint.yaml]

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: v0.11.0.1
hooks:
- id: shellcheck

# Code Quality
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.16.1
rev: v1.19.1
hooks:
- id: mypy
args: [--config-file, pyproject.toml, --warn-unused-configs]

# Security
- repo: https://github.com/PyCQA/bandit
rev: 1.8.5
rev: 1.9.2
hooks:
- id: bandit
args: [-c, pyproject.toml, -r]
additional_dependencies: ["bandit[toml]"]

# Documentation, Spelling
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.22.0
rev: v9.23.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ['@commitlint/config-conventional']

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: 'v0.45.0'
rev: 'v0.47.0'
hooks:
- id: markdownlint
args: ['-f']
Expand Down