-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.pre-commit-config.yaml
69 lines (63 loc) · 1.73 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
args: [--maxkb=1024]
- id: check-byte-order-marker
- id: check-builtin-literals
exclude: test_data/.*$
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: pretty-format-json
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: debug-statements
exclude: test_data/.*$
- id: end-of-file-fixer
- id: fix-encoding-pragma
exclude: test_data/.*$
- id: mixed-line-ending
- id: trailing-whitespace
- repo: local
hooks:
- id: importanize
name: importanize
entry: python -m importanize
language: python
language_version: python3
types: [python]
args: [-v, --no-subconfig]
additional_dependencies: [click, pluggy, pyflakes]
exclude: test_data/.*$
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/python/black
rev: '22.10.0'
hooks:
- id: black
args: [--line-length=88, --safe]
language_version: python3
exclude: test_data/.*$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.982'
hooks:
- id: mypy
language_version: python3
args: []
exclude: test_data/.*$
- repo: https://github.com/mgedmin/check-manifest
rev: '0.48'
hooks:
- id: check-manifest
- repo: https://github.com/miki725/pre-commit-twine-check
rev: '0.1'
hooks:
- id: twine-check