2021-01-17 10:37:15 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2023-08-16 11:53:30 +02:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: double-quote-string-fixer
|
2023-05-12 23:18:54 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v3.3.1
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: ['--keep-percent-format', '--py39-plus']
|
|
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
2023-05-23 10:32:56 +02:00
|
|
|
rev: 1.13.0
|
2023-05-12 23:18:54 +02:00
|
|
|
hooks:
|
|
|
|
- id: django-upgrade
|
|
|
|
args: ['--target-version', '3.2']
|
2021-01-17 10:37:15 +01:00
|
|
|
- repo: https://github.com/psf/black
|
2023-05-12 23:18:54 +02:00
|
|
|
rev: 23.1.0
|
2021-01-17 10:37:15 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-05-12 23:18:54 +02:00
|
|
|
args: ['--target-version', 'py39', '--skip-string-normalization', '--line-length', '110']
|
2022-04-29 08:24:21 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-01 09:29:09 +01:00
|
|
|
rev: 5.12.0
|
2022-04-29 08:24:21 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2023-05-12 23:18:54 +02:00
|
|
|
- repo: https://github.com/rtts/djhtml
|
|
|
|
rev: '3.0.5'
|
|
|
|
hooks:
|
|
|
|
- id: djhtml
|
|
|
|
args: ['--tabwidth', '2']
|
|
|
|
- repo: https://git.entrouvert.org/pre-commit-debian.git
|
2023-05-17 21:26:22 +02:00
|
|
|
rev: v0.3
|
2022-04-29 08:24:21 +02:00
|
|
|
hooks:
|
2023-05-12 23:18:54 +02:00
|
|
|
- id: pre-commit-debian
|