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: 22.3.0
|
2020-12-30 14:13:07 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2021-04-08 11:22:58 +02:00
|
|
|
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
|
2021-04-08 11:24:47 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.7.0
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2021-07-27 15:22:37 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v2.20.0
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: ['--keep-percent-format', '--py37-plus']
|