29 lines
684 B
YAML
29 lines
684 B
YAML
|
|
# See https://pre-commit.com for more information
|
||
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
||
|
|
repos:
|
||
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
|
rev: v3.4.0
|
||
|
|
hooks:
|
||
|
|
- id: trailing-whitespace
|
||
|
|
- id: check-yaml
|
||
|
|
- id: check-ast
|
||
|
|
- id: check-json
|
||
|
|
- id: check-merge-conflict
|
||
|
|
- id: detect-private-key
|
||
|
|
- repo: https://github.com/psf/black
|
||
|
|
rev: 21.6b0
|
||
|
|
hooks:
|
||
|
|
- id: black
|
||
|
|
args: []
|
||
|
|
files: .
|
||
|
|
- repo: https://gitlab.com/PyCQA/flake8
|
||
|
|
rev: 3.9.2
|
||
|
|
hooks:
|
||
|
|
- id: flake8
|
||
|
|
- repo: https://github.com/PyCQA/isort
|
||
|
|
rev: 5.9.1
|
||
|
|
hooks:
|
||
|
|
- id: isort
|
||
|
|
args: []
|
||
|
|
files: .
|