pre-commit-hooks/.pre-commit-config.yaml

29 lines
795 B
YAML
Raw Normal View History

2015-12-26 01:37:18 +08:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2017-07-03 13:27:09 +08:00
sha: v0.9.1
2014-03-15 05:23:08 +08:00
hooks:
2014-03-24 14:10:35 +08:00
- id: trailing-whitespace
- id: end-of-file-fixer
2014-08-23 02:04:55 +08:00
- id: autopep8-wrapper
2015-01-05 08:05:20 +08:00
- id: check-docstring-first
2014-08-20 07:05:41 +08:00
- id: check-json
- id: check-added-large-files
- id: check-yaml
- id: debug-statements
- id: name-tests-test
2015-01-05 08:05:20 +08:00
- id: requirements-txt-fixer
2014-04-14 08:58:19 +08:00
- id: flake8
2015-12-26 01:37:18 +08:00
- repo: https://github.com/pre-commit/pre-commit
2017-07-03 11:57:10 +08:00
sha: v0.15.0
2014-03-15 05:23:08 +08:00
hooks:
2014-03-24 14:10:35 +08:00
- id: validate_config
- id: validate_manifest
2015-12-26 01:37:18 +08:00
- repo: https://github.com/asottile/reorder_python_imports
sha: v0.3.1
2015-01-05 08:05:20 +08:00
hooks:
- id: reorder-python-imports
2015-12-26 01:37:18 +08:00
language_version: python2.7
2017-03-13 09:01:29 +08:00
- repo: https://github.com/asottile/pyupgrade
sha: v1.0.0
hooks:
- id: pyupgrade