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

33 lines
888 B
YAML
Raw Normal View History

repos:
2015-12-26 01:37:18 +08:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2018-07-23 00:32:56 +08:00
rev: v1.4.0
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
rev: v1.7.0
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
rev: v1.0.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
rev: v1.2.0
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
rev: v0.6.4
2017-07-13 09:35:24 +08:00
hooks:
- id: add-trailing-comma