2019-04-03 16:11:09 +02:00
|
|
|
repos:
|
2017-08-21 00:46:24 +02:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2020-02-16 12:26:30 +01:00
|
|
|
rev: v2.5.0
|
2017-08-21 00:46:24 +02:00
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-docstring-first
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: flake8
|
|
|
|
args:
|
|
|
|
- --exclude=__init__.py
|
|
|
|
language_version: python3
|
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: trailing-whitespace
|
2019-04-03 16:11:09 +02:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-autopep8
|
2020-05-09 15:28:19 +02:00
|
|
|
rev: v1.5.2
|
2019-04-03 16:11:09 +02:00
|
|
|
hooks:
|
|
|
|
- id: autopep8
|
2017-08-21 00:46:24 +02:00
|
|
|
- repo: git://github.com/asottile/reorder_python_imports
|
2020-05-09 15:28:19 +02:00
|
|
|
rev: v2.3.0
|
2017-08-21 00:46:24 +02:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
language_version: python3
|