cmsmanage/.pre-commit-config.yaml

35 lines
826 B
YAML
Raw Normal View History

2022-01-24 23:40:11 -05:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2024-04-29 22:38:10 -04:00
rev: v4.6.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-09-03 11:08:58 -04:00
rev: v1.35.2
2022-01-24 23:40:11 -05:00
hooks:
- id: djlint-django
- id: djlint-reformat-django
- repo: https://github.com/astral-sh/ruff-pre-commit
2024-09-07 11:21:01 -04:00
rev: v0.6.4
hooks:
- id: ruff
- id: ruff-format
2024-02-09 12:43:52 -05:00
- repo: https://github.com/pdm-project/pdm
2024-08-16 17:56:57 -04:00
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