2021-07-15 12:29:36 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2023-08-16 11:52:26 +02:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: double-quote-string-fixer
|
2021-07-15 12:29:36 +02:00
|
|
|
- repo: https://github.com/psf/black
|
2024-01-31 12:11:37 +01:00
|
|
|
rev: 23.1.0
|
2021-07-15 12:29:36 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2024-01-31 12:11:37 +01:00
|
|
|
args: ['--target-version', 'py39', '--skip-string-normalization', '--line-length', '110']
|
2021-07-15 12:29:36 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-01 09:29:06 +01:00
|
|
|
rev: 5.12.0
|
2021-07-15 12:29:36 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-01-31 12:11:37 +01:00
|
|
|
rev: v3.3.1
|
2021-07-15 12:29:36 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2024-01-31 12:11:37 +01:00
|
|
|
args: ['--keep-percent-format', '--py39-plus']
|