-
Notifications
You must be signed in to change notification settings - Fork 688
/
tox.ini
44 lines (40 loc) · 798 Bytes
/
tox.ini
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
[tox]
envlist =
py3{8,9,10,11,12,13}
pypy3
docs
types
lint
skip_missing_interpreters = True
[testenv]
usedevelop = true
deps =
-r requirements-tests.txt
extras =
watchmedo
commands =
python -bb -m pytest {posargs}
[testenv:docs]
usedevelop = true
deps =
-r requirements-tests.txt
extras =
watchmedo
commands =
sphinx-build -aEWb html docs/source docs/build/html
[testenv:lint]
usedevelop = true
deps =
-r requirements-tests.txt
extras =
watchmedo
commands =
python -m ruff format src
python -m ruff check --fix src
[testenv:types]
usedevelop = true
deps =
-r requirements-tests.txt
commands =
# "--platform win32" to not fail on ctypes.windll (it does not affect the overall check on other OSes)
mypy --platform win32 src