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
|
name: isort
|
||||||
stages: [commit]
|
stages: [commit]
|
||||||
language: system
|
language: system
|
||||||
entry: bash -c 'cd daemon && pipenv run isort --atomic -y'
|
entry: bash -c 'cd daemon && poetry run isort --atomic -y'
|
||||||
types: [python]
|
types: [python]
|
||||||
|
|
||||||
- id: black
|
- id: black
|
||||||
name: black
|
name: black
|
||||||
stages: [commit]
|
stages: [commit]
|
||||||
language: system
|
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]
|
types: [python]
|
||||||
|
|
||||||
- id: flake8
|
- id: flake8
|
||||||
name: flake8
|
name: flake8
|
||||||
stages: [commit]
|
stages: [commit]
|
||||||
language: system
|
language: system
|
||||||
entry: bash -c 'cd daemon && pipenv run flake8'
|
entry: bash -c 'cd daemon && poetry run flake8'
|
||||||
types: [python]
|
types: [python]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue