2019-08-25 00:27:31 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.0.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
- repo: https://github.com/ambv/black
|
|
|
|
rev: stable
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python3
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v1.2.3
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2019-08-25 00:33:51 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v1.22.1
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py3-plus]
|