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

32 lines
882 B
YAML
Raw Normal View History

2015-12-26 01:37:18 +08:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2017-08-22 01:58:25 +08:00
sha: v0.9.2
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
sha: v0.16.3
2014-03-15 05:23:08 +08:00
hooks:
- id: validate_manifest
2015-12-26 01:37:18 +08:00
- repo: https://github.com/asottile/reorder_python_imports
2017-07-18 08:41:44 +08:00
sha: v0.3.5
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.1.4
2017-03-13 09:01:29 +08:00
hooks:
- id: pyupgrade
2017-07-13 09:35:24 +08:00
- repo: https://github.com/asottile/add-trailing-comma
sha: v0.6.4
2017-07-13 09:35:24 +08:00
hooks:
- id: add-trailing-comma