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

39 lines
1.0 KiB
YAML
Raw Normal View History

repos:
2015-12-26 01:37:18 +08:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2018-12-27 01:48:02 +08:00
rev: v2.1.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
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
2019-01-30 16:15:11 +08:00
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.1
hooks:
2014-04-14 08:58:19 +08:00
- id: flake8
- repo: https://github.com/pre-commit/mirrors-autopep8
2019-01-03 02:31:51 +08:00
rev: v1.4.3
hooks:
- id: autopep8
2015-12-26 01:37:18 +08:00
- repo: https://github.com/pre-commit/pre-commit
2019-01-30 16:15:11 +08:00
rev: v1.14.2
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
2019-01-30 16:15:11 +08:00
rev: v1.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
2019-01-30 16:15:11 +08:00
rev: v1.11.1
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
2019-01-03 02:31:51 +08:00
rev: v0.7.1
2017-07-13 09:35:24 +08:00
hooks:
- id: add-trailing-comma