2019-09-10 14:07:46 -07:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort
|
|
|
|
stages: [commit]
|
|
|
|
language: system
|
2020-07-11 22:11:23 -07:00
|
|
|
entry: bash -c 'cd daemon && poetry run isort --atomic -y'
|
2019-09-10 14:07:46 -07:00
|
|
|
types: [python]
|
2019-09-10 15:10:24 -07:00
|
|
|
|
|
|
|
- id: black
|
|
|
|
name: black
|
|
|
|
stages: [commit]
|
|
|
|
language: system
|
2020-07-14 13:33:40 -07:00
|
|
|
entry: bash -c 'cd daemon && poetry run black .'
|
2019-09-10 15:10:24 -07:00
|
|
|
types: [python]
|
|
|
|
|
|
|
|
- id: flake8
|
|
|
|
name: flake8
|
|
|
|
stages: [commit]
|
|
|
|
language: system
|
2020-07-11 22:11:23 -07:00
|
|
|
entry: bash -c 'cd daemon && poetry run flake8'
|
2019-09-10 15:10:24 -07:00
|
|
|
types: [python]
|