35 lines
766 B
YAML
35 lines
766 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v2.0.0
|
||
|
hooks:
|
||
|
- id: check-added-large-files
|
||
|
args: [--maxkb=500]
|
||
|
- id: check-byte-order-marker
|
||
|
- id: check-case-conflict
|
||
|
- id: check-json
|
||
|
- id: check-merge-conflict
|
||
|
- id: check-symlinks
|
||
|
- id: debug-statements
|
||
|
- id: detect-private-key
|
||
|
- id: end-of-file-fixer
|
||
|
- id: mixed-line-ending
|
||
|
args: [--fix=lf]
|
||
|
- id: requirements-txt-fixer
|
||
|
- id: trailing-whitespace
|
||
|
- repo: https://github.com/pre-commit/mirrors-isort
|
||
|
rev: v4.3.4
|
||
|
hooks:
|
||
|
- id: isort
|
||
|
- repo: https://github.com/ambv/black
|
||
|
rev: 18.9b0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
language_version: python3.6
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: flake8
|
||
|
entry: flake8
|
||
|
language: system
|
||
|
name: flake8
|
||
|
types: [python]
|