moved python black configuration to pyproject.toml and fixed bad exclude

This commit is contained in:
Blake Harnden 2020-07-14 13:33:40 -07:00
parent f8b0ab6ec3
commit 80194b3e38
4 changed files with 9 additions and 6 deletions

View file

@ -12,7 +12,7 @@ repos:
name: black
stages: [commit]
language: system
entry: bash -c 'cd daemon && poetry run black --exclude ".+_pb2.*.py|doc|build" .'
entry: bash -c 'cd daemon && poetry run black .'
types: [python]
- id: flake8