updated pre-commit file to use poetry environment
This commit is contained in:
parent
ec45d7198b
commit
5c58e99ad4
1 changed files with 3 additions and 3 deletions
|
@ -5,19 +5,19 @@ repos:
|
|||
name: isort
|
||||
stages: [commit]
|
||||
language: system
|
||||
entry: bash -c 'cd daemon && pipenv run isort --atomic -y'
|
||||
entry: bash -c 'cd daemon && poetry run isort --atomic -y'
|
||||
types: [python]
|
||||
|
||||
- id: black
|
||||
name: black
|
||||
stages: [commit]
|
||||
language: system
|
||||
entry: bash -c 'cd daemon && pipenv run black --exclude ".+_pb2.*.py|doc|build|utm\.py" .'
|
||||
entry: bash -c 'cd daemon && poetry run black --exclude ".+_pb2.*.py|doc|build|utm\.py" .'
|
||||
types: [python]
|
||||
|
||||
- id: flake8
|
||||
name: flake8
|
||||
stages: [commit]
|
||||
language: system
|
||||
entry: bash -c 'cd daemon && pipenv run flake8'
|
||||
entry: bash -c 'cd daemon && poetry run flake8'
|
||||
types: [python]
|
||||
|
|
Loading…
Reference in a new issue