2021-02-20 16:26:50 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2023-08-16 10:08:27 +02:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: double-quote-string-fixer
|
2022-09-29 15:27:00 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2023-03-29 11:56:03 +02:00
|
|
|
rev: v3.3.1
|
2022-09-29 15:27:00 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-03-29 11:56:03 +02:00
|
|
|
args: ['--keep-percent-format', '--py39-plus']
|
2022-10-03 14:14:38 +02:00
|
|
|
- repo: https://github.com/adamchainz/django-upgrade
|
2023-03-29 11:55:55 +02:00
|
|
|
rev: 1.13.0
|
2022-10-03 14:14:38 +02:00
|
|
|
hooks:
|
|
|
|
- id: django-upgrade
|
2023-03-29 11:55:55 +02:00
|
|
|
args: ['--target-version', '3.2']
|
2021-02-20 16:26:50 +01:00
|
|
|
- repo: https://github.com/psf/black
|
2023-03-29 11:56:58 +02:00
|
|
|
rev: 23.3.0
|
2021-02-20 16:26:50 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-03-29 11:56:58 +02:00
|
|
|
args: ['--target-version', 'py39', '--skip-string-normalization', '--line-length', '110']
|
2021-04-12 09:23:11 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-01 02:08:04 +01:00
|
|
|
rev: 5.12.0
|
2021-04-12 09:23:11 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2022-09-29 17:26:53 +02:00
|
|
|
- repo: https://github.com/rtts/djhtml
|
2023-03-29 11:57:05 +02:00
|
|
|
rev: '3.0.6'
|
2022-09-29 17:26:53 +02:00
|
|
|
hooks:
|
|
|
|
- id: djhtml
|
|
|
|
args: ['--tabwidth', '2']
|
2022-06-17 19:07:47 +02:00
|
|
|
- repo: https://git.entrouvert.org/pre-commit-debian.git
|
2023-05-27 21:40:11 +02:00
|
|
|
rev: v0.3
|
2022-06-17 19:07:47 +02:00
|
|
|
hooks:
|
|
|
|
- id: pre-commit-debian
|