Add black pre-commit

pull/119/head
stijndcl 2022-07-11 22:35:04 +02:00
parent dd66087193
commit 81c882315a
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
default_language_version:
python: 3.9.5
repos:
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
args:
- --config=pyproject.toml

View File

@ -1,6 +1,7 @@
black==22.3.0 black==22.3.0
coverage[toml]==6.4.1 coverage[toml]==6.4.1
mypy==0.961 mypy==0.961
pre-commit==2.20.0
pytest==7.1.2 pytest==7.1.2
pytest-asyncio==0.18.3 pytest-asyncio==0.18.3
pytest-env==0.6.2 pytest-env==0.6.2