-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
.pre-commit-config.yaml
81 lines (76 loc) · 2 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
70
71
72
73
74
75
76
77
78
79
80
81
repos:
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort
additional_dependencies: [
typing_extensions ~= 4.12,
requests ~= 2.31,
bs4 ~= 0.0.2,
flask ~= 3.0,
waitress ~= 3.0,
pycryptodome ~= 3.20,
tenacity ~= 8.2,
bencoding ~= 0.2,
simplejson ~= 3.19,
aiohttp ~= 3.9,
flask-socketio ~= 5.3
]
- repo: local
hooks:
- id: mypy
name: mypy
language: python
pass_filenames: false
additional_dependencies: [
mypy~=1.10,
typing_extensions ~= 4.12,
requests ~= 2.31,
bs4 ~= 0.0.2,
flask ~= 3.0,
waitress ~= 3.0,
pycryptodome ~= 3.20,
tenacity ~= 8.2,
bencoding ~= 0.2,
simplejson ~= 3.19,
aiohttp ~= 3.9,
flask-socketio ~= 5.3
]
entry: python -m mypy --explicit-package-bases .
- id: unittest
name: unittest
language: python
pass_filenames: false
additional_dependencies: [
typing_extensions ~= 4.12,
requests ~= 2.31,
bs4 ~= 0.0.2,
flask ~= 3.0,
waitress ~= 3.0,
pycryptodome ~= 3.20,
tenacity ~= 8.2,
bencoding ~= 0.2,
simplejson ~= 3.19,
aiohttp ~= 3.9,
flask-socketio ~= 5.3
]
entry: python -m unittest discover -s ./tests -p '*.py'
- repo: https://github.com/hhatto/autopep8
rev: v2.2.0
hooks:
- id: autopep8
name: autopep8
additional_dependencies: [
typing_extensions ~= 4.12,
requests ~= 2.31,
bs4 ~= 0.0.2,
flask ~= 3.0,
waitress ~= 3.0,
pycryptodome ~= 3.20,
tenacity ~= 8.2,
bencoding ~= 0.2,
simplejson ~= 3.19,
aiohttp ~= 3.9,
flask-socketio ~= 5.3
]