2021-02-04 10:40:55 +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:31:18 +02:00
|
|
|
rev: 22.3.0
|
2021-02-04 10:40:55 +01:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
|
2021-03-19 11:34:18 +01:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
|
|
|
rev: 5.7.0
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
2021-03-30 13:40:50 +02:00
|
|
|
args: ['--profile', 'black', '--line-length', '110']
|
2021-07-09 14:40:01 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v2.20.0
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: ['--keep-percent-format', '--py37-plus']
|