adding isort/pre-commit dev dependencies and setup.cfg for isort
This commit is contained in:
parent
d11480c1c5
commit
a004285514
4 changed files with 124 additions and 2 deletions
9
daemon/.pre-commit-config.yaml
Normal file
9
daemon/.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: isort
|
||||
name: isort
|
||||
stages: [commit]
|
||||
language: system
|
||||
entry: bash -c 'cd daemon && pipenv run isort --atomic'
|
||||
types: [python]
|
Loading…
Add table
Add a link
Reference in a new issue