2018-06-23 18:54:24 +00:00
|
|
|
repos:
|
2019-08-31 22:25:25 +00:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2019-09-01 07:45:45 +00:00
|
|
|
rev: v2.3.0
|
2019-08-31 22:25:25 +00:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: flake8
|
2019-09-01 07:45:45 +00:00
|
|
|
args: [--max-line-length=120, --exclude=*/migrations/*]
|
2019-08-31 22:25:25 +00:00
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
2019-09-01 07:45:45 +00:00
|
|
|
- id: check-toml
|
2019-08-31 22:25:25 +00:00
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2019-09-01 07:45:45 +00:00
|
|
|
rev: v1.6.1
|
2019-08-31 22:25:25 +00:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
types: [file, python]
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: stable
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language: python
|
|
|
|
types: [file, python]
|