misc: add black/pre-commit configuration

main
Frédéric Péters 2 years ago
parent 99efe1be0c
commit cb5fa09166

@ -0,0 +1,8 @@
# 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
rev: 20.8b1
hooks:
- id: black
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']
Loading…
Cancel
Save