2021-11-26 11:23:28 +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:52:35 +02:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: double-quote-string-fixer
|
2021-11-24 12:37:59 +01:00
|
|
|
- repo: https://github.com/psf/black
|
2022-04-03 16:52:13 +02:00
|
|
|
rev: 22.3.0
|
2021-11-24 12:37:59 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
|
2021-11-24 13:14:46 +01:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-01 09:46:54 +01:00
|
|
|
rev: 5.12.0
|
2021-11-24 13:14:46 +01:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2021-11-26 11:23:28 +01:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-10-26 19:22:43 +02:00
|
|
|
rev: v3.1.0
|
2021-11-26 11:23:28 +01:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2021-11-24 12:37:59 +01:00
|
|
|
args: ['--keep-percent-format', '--py37-plus']
|