File size: 369 Bytes
35bba99 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
files: '^.*\.py$'
repos:
- repo: local
hooks:
- id: black
name: black
entry: black --check --diff --color
language: python
- id: flake8
name: flake8
entry: flake8 --ignore E203,E261,E501,W503,E741
language: python
|