-
Notifications
You must be signed in to change notification settings - Fork 77
/
.pre-commit-config.yaml
44 lines (41 loc) · 1.14 KB
/
.pre-commit-config.yaml
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
41
42
43
44
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'master'
hooks:
- id: check-added-large-files
args: [--maxkb=1024]
- id: check-byte-order-marker
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: pretty-format-json
args: [--autofix, --indent=2]
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: debug-statements
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: flake8
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/miki725/importanize
rev: 'master'
hooks:
- id: importanize
language_version: python3
- repo: https://github.com/python/black
rev: 'master'
hooks:
- id: black
args: [--line-length=88, --safe]
language_version: python3
exclude: test_data/.*$
- repo: https://github.com/mgedmin/check-manifest
rev: 'master'
hooks:
- id: check-manifest