2021-03-30 10:10:04 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2022-09-22 11:12:22 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-10-26 19:19:10 +02:00
|
|
|
rev: v3.1.0
|
2022-09-22 11:12:22 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: ['--keep-percent-format', '--py37-plus']
|
2022-09-22 11:20:49 +02:00
|
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
|
|
|
rev: 1.10.0
|
|
|
|
hooks:
|
|
|
|
- id: django-upgrade
|
|
|
|
args: ['--target-version', '2.2']
|
2021-03-30 10:10:04 +02:00
|
|
|
- repo: https://github.com/psf/black
|
2022-03-31 12:11:27 +02:00
|
|
|
rev: 22.3.0
|
2021-03-30 10:10:04 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
|
2021-03-30 10:34:19 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.7.0
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2022-09-29 11:46:08 +02:00
|
|
|
- repo: https://github.com/rtts/djhtml
|
|
|
|
rev: 'v1.5.2'
|
|
|
|
hooks:
|
|
|
|
- id: djhtml
|
|
|
|
args: ['--tabwidth', '2']
|
2022-06-17 19:53:01 +02:00
|
|
|
- repo: https://git.entrouvert.org/pre-commit-debian.git
|
|
|
|
rev: v0.1
|
|
|
|
hooks:
|
|
|
|
- id: pre-commit-debian
|