2022-01-24 23:40:11 -05:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-09-20 10:37:51 -04:00
|
|
|
rev: v5.0.0
|
2022-01-24 23:40:11 -05:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
- repo: https://github.com/Riverside-Healthcare/djLint
|
2024-11-04 01:02:17 -05:00
|
|
|
rev: v1.36.0
|
2022-01-24 23:40:11 -05:00
|
|
|
hooks:
|
|
|
|
- id: djlint-django
|
2024-01-26 14:04:32 -05:00
|
|
|
- id: djlint-reformat-django
|
2024-01-17 21:17:24 -05:00
|
|
|
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-11-04 01:02:17 -05:00
|
|
|
rev: v0.7.2
|
2024-01-17 21:17:24 -05:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|
|
|
|
- id: ruff-format
|
2024-02-09 12:43:52 -05:00
|
|
|
|
2024-02-17 15:44:12 -05:00
|
|
|
- repo: https://github.com/pdm-project/pdm
|
2024-11-04 01:02:17 -05:00
|
|
|
rev: 2.20.0.post1
|
2024-02-17 15:44:12 -05:00
|
|
|
hooks:
|
|
|
|
- id: pdm-lock-check
|
|
|
|
|
2024-11-04 00:55:31 -05:00
|
|
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
|
|
rev: v2.5.0
|
|
|
|
hooks:
|
|
|
|
- id: pyproject-fmt
|
|
|
|
|
2024-09-03 11:00:38 -04:00
|
|
|
- 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
|