-
-
Notifications
You must be signed in to change notification settings - Fork 624
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (48 loc) · 1023 Bytes
/
Copy pathtox.ini
File metadata and controls
52 lines (48 loc) · 1023 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
41
42
43
44
45
46
47
48
49
50
51
52
[testenv]
commands=
pip install -e .
pytest -p no:logging --timeout=60 --cov=socketio --cov-branch --cov-report=term-missing --cov-report=xml {posargs}
deps=
simple-websocket
uvicorn
requests
websocket-client
aiohttp
msgpack
redis
valkey
pytest
pytest-asyncio
pytest-timeout
pytest-cov
[testenv:flake8]
deps=
flake8
commands=
flake8 --exclude=".*" --exclude="examples/server/wsgi/django_socketio" --ignore=W503,E402,E722 src/socketio tests examples
[testenv:zizmor]
deps=
zizmor
commands=
zizmor --offline .forgejo/workflows/tests.yml
[testenv:docs]
changedir=docs
deps=
sphinx
furo
allowlist_externals=
make
commands=
make html
[testenv:lint]
deps=
flake8
zizmor
sphinx
furo
allowlist_externals=
make
commands=
flake8 --exclude=".*" --exclude="examples/server/wsgi/django_socketio" --ignore=W503,E402,E722 src/socketio tests examples
zizmor --offline .forgejo/workflows/tests.yml
make -C docs html