-
Notifications
You must be signed in to change notification settings - Fork 27
/
tox.ini
54 lines (48 loc) · 839 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
45
46
47
48
49
50
51
52
53
54
[tox]
envlist = py36,py37,py38,py39,lint,typing,py311
skip_missing_interpreters = True
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.11: py311, lint
[testenv]
commands = py.test \
--doctest-modules \
--cov=rflink \
--cov=rflinkproxy \
rflink tests {posargs}
deps =
pytest
pytest-catchlog
pytest-cov
pytest-xdist
usedevelop = True
[testenv:fix]
commands =
autopep8 --aggressive --in-place --recursive .
isort -rc .
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
[testenv:typing]
commands = mypy --strict --ignore-missing-imports rflink
deps = mypy
[testenv:pypy3]
deps =
{[testenv]deps}
asyncio