mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-04-18 12:09:33 +00:00
38 lines
990 B
YAML
38 lines
990 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: check-migrations
|
|
name: check-migrations
|
|
entry: python src/manage.py makemigrations --check
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|
|
- id: django-upgrade
|
|
name: django-upgrade
|
|
entry: django-upgrade
|
|
language: system
|
|
types: [python]
|
|
- id: ruff
|
|
name: ruff
|
|
entry: ruff check --fix
|
|
language: system
|
|
types: [python]
|
|
require_serial: true
|
|
- id: ruff-format
|
|
name: ruff-format
|
|
entry: ruff format
|
|
language: system
|
|
types: [python]
|
|
require_serial: true
|
|
- id: djlint-lint
|
|
name: djlint-lint
|
|
entry: djlint --lint
|
|
language: system
|
|
types: [html]
|
|
require_serial: true
|
|
- id: djlint-reformat
|
|
name: djlint-reformat
|
|
entry: djlint --reformat
|
|
language: system
|
|
types: [html]
|
|
require_serial: true |