-
Notifications
You must be signed in to change notification settings - Fork 40
/
.pre-commit-config.yaml
50 lines (48 loc) · 1.06 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
default_language_version:
python: python3.8
exclude: (^docs)
fail_fast: true
repos:
- repo: https://github.com/ambv/black
rev: 22.8.0
hooks:
- id: black
args: [--diff, --check]
- repo: https://github.com/PyCQA/pylint
rev: v2.15.3
hooks:
- id: pylint
additional_dependencies:
- oslash<1
- aiohttp<4
- aiozmq<1
- django<5
- fastapi<1
- flask<3
- flask-socketio<5.3.1
- jsonschema<5
- pytest
- pyzmq
- sanic
- tornado<7
- uvicorn<1
- websockets<11
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
hooks:
- id: mypy
args: [--strict]
additional_dependencies:
- aiohttp<4
- aiozmq<1
- django<5
- fastapi<1
- flask<3
- flask-socketio<5.3.1
- pytest
- pyzmq
- sanic
- tornado<7
- types-setuptools
- uvicorn<1
- websockets<11