35 lines
826 B
YAML
35 lines
826 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/Riverside-Healthcare/djLint
|
|
rev: v1.34.1
|
|
hooks:
|
|
- id: djlint-django
|
|
- id: djlint-reformat-django
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.6.1
|
|
hooks:
|
|
- id: ruff
|
|
- id: ruff-format
|
|
|
|
- repo: https://github.com/pdm-project/pdm
|
|
rev: 2.18.1
|
|
hooks:
|
|
- id: pdm-lock-check
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: django-migrations
|
|
name: Check django migrations
|
|
entry: pdm run ./manage.py makemigrations --check --dry-run
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|