-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathtox.ini
More file actions
59 lines (52 loc) · 973 Bytes
/
tox.ini
File metadata and controls
59 lines (52 loc) · 973 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
53
54
55
56
57
58
59
[tox]
envlist = py39,py310,py311,py312,py313,py314,lint,typing
skip_missing_interpreters = True
[gh-actions]
python =
3.14: py314, lint
3.13: py313
3.12: py312
3.11: py311
3.10: py310
3.9: py39
[testenv]
commands = py.test \
--doctest-modules \
--cov=rflink \
--cov=rflinkproxy \
rflink tests {posargs}
deps =
pytest
pytest-cov
pytest-xdist
usedevelop = True
[testenv:fix]
commands =
autopep8 --aggressive --in-place --recursive .
isort .
black .
deps =
isort
black
autopep8
[testenv:lint]
commands =
pylama setup.py rflink rflinkproxy tests
black --check .
deps =
isort
pylama
black
pydocstyle<6
pyflakes<2.5
setuptools<82
[testenv:typing]
commands = mypy --install-types --non-interactive --strict --follow-untyped-imports --ignore-missing-imports rflink
#commands = basedpyright rflink
deps =
types-docopt
mypy
[testenv:pypy3]
deps =
{[testenv]deps}
asyncio