-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (40 loc) · 944 Bytes
/
.pre-commit-config.yaml
File metadata and controls
40 lines (40 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.8
args:
- --line-length=120
- repo: local
hooks:
- id: flake8
entry: flake8
language: system
name: flake8
types: [python]
args:
- "--max-line-length=120"
- "--ignore=N802,D100,D101,D102,D104,D107"
exclude: 'setup.py|Makefile|README.md|test/.*'