2021-10-20 19:52:15 +00:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
|
repos:
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-29 02:29:18 +00:00
|
|
|
rev: v4.4.0
|
2021-10-20 19:52:15 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: trailing-whitespace
|
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
|
- id: check-yaml
|
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
- id: mixed-line-ending
|
|
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2023-02-07 03:48:54 +00:00
|
|
|
rev: 23.1.0
|
2021-10-20 19:52:15 +00:00
|
|
|
hooks:
|
|
|
|
|
- id: black
|
|
|
|
|
language_version: python3
|
|
|
|
|
entry: black --target-version=py36
|
2023-02-22 15:08:47 +00:00
|
|
|
|
|
|
|
|
- repo: https://github.com/remastr/pre-commit-django-check-migrations
|
|
|
|
|
rev: v0.1.0
|
|
|
|
|
hooks:
|
|
|
|
|
- id: check-migrations-created
|
|
|
|
|
args:
|
|
|
|
|
[
|
|
|
|
|
--exec-command=poetry run python,
|
|
|
|
|
--manage-path=manage.py,
|
|
|
|
|
]
|