pre-commit-hooks/.pre-commit-config.yaml
Anthony Sottile 1b12723c29 v1.2.2
2018-02-28 09:01:18 -08:00

32 lines
889 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v1.2.2
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
- id: check-docstring-first
- id: check-json
- id: check-added-large-files
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/pre-commit/pre-commit
sha: v0.16.3
hooks:
- id: validate_manifest
- repo: https://github.com/asottile/reorder_python_imports
sha: v0.3.5
hooks:
- id: reorder-python-imports
language_version: python2.7
- repo: https://github.com/asottile/pyupgrade
sha: v1.1.4
hooks:
- id: pyupgrade
- repo: https://github.com/asottile/add-trailing-comma
sha: v0.6.4
hooks:
- id: add-trailing-comma