2020-12-30 14:13:07 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2022-03-31 12:16:12 +02:00
|
|
|
rev: 23.1.0
|
2020-12-30 14:13:07 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2021-04-08 11:22:58 +02:00
|
|
|
args: ['--target-version', 'py39', '--skip-string-normalization', '--line-length', '110']
|
2021-04-08 11:24:47 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-01 09:44:17 +01:00
|
|
|
rev: 5.12.0
|
2021-04-08 11:24:47 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2021-07-27 15:22:37 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2023-03-15 14:13:41 +01:00
|
|
|
rev: v3.3.1
|
2021-07-27 15:22:37 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-03-15 14:13:41 +01:00
|
|
|
args: ['--keep-percent-format', '--py39-plus']
|
2022-09-21 17:08:45 +02:00
|
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
2023-03-15 14:13:36 +01:00
|
|
|
rev: 1.13.0
|
2022-09-21 17:08:45 +02:00
|
|
|
hooks:
|
|
|
|
- id: django-upgrade
|
2023-03-15 14:13:36 +01:00
|
|
|
args: ['--target-version', '3.2']
|
2022-09-21 17:37:13 +02:00
|
|
|
- repo: https://github.com/rtts/djhtml
|
|
|
|
rev: '3.0.5'
|
|
|
|
hooks:
|
|
|
|
- id: djhtml
|
|
|
|
args: ['--tabwidth', '2']
|
2022-06-17 19:05:02 +02:00
|
|
|
- repo: https://git.entrouvert.org/pre-commit-debian.git
|
2023-05-27 21:40:08 +02:00
|
|
|
rev: v0.3
|
2022-06-17 19:05:02 +02:00
|
|
|
hooks:
|
|
|
|
- id: pre-commit-debian
|