Skip to content
Open
Show file tree
Hide file tree
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
24 changes: 12 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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 @@ -32,13 +32,13 @@ repos:
args: [--markdown-linebreak-ext=md]

# 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 @@ -49,54 +49,54 @@ repos:
]

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

# Linting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.9
rev: v0.14.10
hooks:
- id: ruff
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.15.0
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.3
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.21.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.44.0'
rev: 'v0.47.0'
hooks:
- id: markdownlint
args: ['-f']
Expand Down
2 changes: 1 addition & 1 deletion src/config/settings/develop.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ruff: noqa: F401, F405
# ruff: noqa: F401
"""Django `development` settings for config project.

Development target settings for the Django project inherited
Expand Down
2 changes: 1 addition & 1 deletion src/config/settings/production.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ruff: noqa: F401, F405
# ruff: noqa: F401
"""Django `production` settings for config project.

For more information on this file, see
Expand Down
2 changes: 1 addition & 1 deletion src/config/settings/staging.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ruff: noqa: F401, F405
# ruff: noqa: F401
"""Django `staging` settings for config project.

For more information on this file, see
Expand Down