build: run isort/pyupgrade

This commit is contained in:
Frédéric Péters 2022-04-29 08:24:21 +02:00
parent 14e55eeb1e
commit 1d4c0a7ff5
1 changed files with 10 additions and 0 deletions

View File

@ -6,3 +6,13 @@ repos:
hooks:
- id: black
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
hooks:
- id: isort
args: ['--profile', 'black', '--line-length', '110']
- repo: https://github.com/asottile/pyupgrade
rev: v2.20.0
hooks:
- id: pyupgrade
args: ['--keep-percent-format', '--py37-plus']