27 lines
637 B
YAML
27 lines
637 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.3.0
|
|
hooks:
|
|
- id: black
|
|
args:
|
|
- "--line-length=120"
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v1.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: check-docstring-first
|
|
- id: check-json
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: flake8
|
|
args:
|
|
- "--ignore=E, W"
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
rev: v1.1.0
|
|
hooks:
|
|
- id: reorder-python-imports
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|