2017-09-08 10:22:03 +08:00
|
|
|
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
|
2015-01-01 04:24:22 +08:00
|
|
|
- id: check-added-large-files
|
2014-04-04 13:23:50 +08:00
|
|
|
- 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
|
2018-10-12 08:19:35 +08:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-autopep8
|
2019-01-03 02:31:51 +08:00
|
|
|
rev: v1.4.3
|
2018-10-12 08:19:35 +08:00
|
|
|
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:
|
2014-04-04 13:23:50 +08:00
|
|
|
- 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
|
2019-02-01 11:19:10 +08:00
|
|
|
language_version: python3
|
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
|
2019-02-01 11:19:10 +08:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
rev: v0.660
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
language_version: python3
|