32 lines
635 B
YAML
32 lines
635 B
YAML
|
repos:
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: isort
|
||
|
name: isort
|
||
|
stages: [commit]
|
||
|
language: system
|
||
|
entry: isort
|
||
|
types: [python]
|
||
|
|
||
|
- id: black
|
||
|
name: black
|
||
|
stages: [commit]
|
||
|
language: system
|
||
|
entry: black
|
||
|
types: [python]
|
||
|
|
||
|
- id: flake8
|
||
|
name: flake8
|
||
|
stages: [commit]
|
||
|
language: system
|
||
|
entry: flake8
|
||
|
types: [python]
|
||
|
exclude: setup.py
|
||
|
|
||
|
- id: mypy
|
||
|
name: mypy
|
||
|
stages: [commit]
|
||
|
language: system
|
||
|
entry: pipenv run mypy
|
||
|
types: [python]
|
||
|
pass_filenames: false
|