forked from Gr1N/aiotelegraf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (46 loc) · 937 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
[tox]
envlist =
py37-black
py37-flake8
py37-isort
py37-mypy
py{36,37}-tests
skipsdist = True
[testenv]
skip_install = True
setenv =
PYTHONPATH = {toxinidir}
passenv = *
[testenv:py37-black]
commands =
black --check --diff .
deps =
black
[testenv:py37-flake8]
commands =
flake8 aiotelegraf tests
deps =
flake8
flake8-bugbear
[testenv:py37-isort]
commands =
isort --check-only --diff --recursive .
deps =
isort
[testenv:py37-mypy]
commands =
mypy --ignore-missing-imports --follow-imports=silent aiotelegraf tests
deps =
mypy
[testenv:py36-tests]
commands =
poetry install -v
pytest --cov-report term --cov-report html --cov=aiotelegraf -vv {posargs:tests/}
whitelist_externals =
poetry
[testenv:py37-tests]
commands =
poetry install -v
pytest --cov-report term --cov-report html --cov=aiotelegraf -vv {posargs:tests/}
whitelist_externals =
poetry