squeaknode/.pre-commit-config.yaml
2020-12-28 23:52:32 -08:00

26 lines
707 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
# - id: trailing-whitespace
# exclude: static/*
# - id: end-of-file-fixer
# exclude: static/*
- id: check-yaml
- id: debug-statements
# - id: name-tests-test
- id: requirements-txt-fixer
- id: check-byte-order-marker
- id: check-merge-conflict
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.5.4
hooks:
- id: autopep8
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.3.6
hooks:
- id: reorder-python-imports