2019-09-10 22:07:46 +01:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort
|
|
|
|
stages: [commit]
|
|
|
|
language: system
|
2020-07-12 06:11:23 +01:00
|
|
|
entry: bash -c 'cd daemon && poetry run isort --atomic -y'
|
2019-09-10 22:07:46 +01:00
|
|
|
types: [python]
|
2019-09-10 23:10:24 +01:00
|
|
|
|
|
|
|
- id: black
|
|
|
|
name: black
|
|
|
|
stages: [commit]
|
|
|
|
language: system
|
2020-07-14 20:54:13 +01:00
|
|
|
entry: bash -c 'cd daemon && poetry run black --exclude ".+_pb2.*.py|doc|build" .'
|
2019-09-10 23:10:24 +01:00
|
|
|
types: [python]
|
|
|
|
|
|
|
|
- id: flake8
|
|
|
|
name: flake8
|
|
|
|
stages: [commit]
|
|
|
|
language: system
|
2020-07-12 06:11:23 +01:00
|
|
|
entry: bash -c 'cd daemon && poetry run flake8'
|
2019-09-10 23:10:24 +01:00
|
|
|
types: [python]
|