moved python black configuration to pyproject.toml and fixed bad exclude
This commit is contained in:
parent
f8b0ab6ec3
commit
80194b3e38
4 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue