forked from edillmann/pymelcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (42 loc) · 805 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
[tox]
envlist=py36,py37,py38,flake8,typing
[tox:travis]
3.6 = py36
3.7 = py37
3.8 = py38
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps=
-r requirements.txt
pytest
pytest-asyncio
pytest-cov
commands=
py.test --cov --cov-config=tox.ini
[testenv:flake8]
deps=flake8
commands=flake8 pymelcloud
[flake8]
exclude = .git,.tox,__pycache__,tests/*
max-line-length = 88
[testenv:lint]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files
[testenv:typing]
deps=mypy
commands=mypy --ignore-missing-imports pymelcloud
[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
known_first_party=pymelcloud
known_third_party=
aiohttp
[coverage:run]
source = pymelcloud
branch = True
omit =
[coverage:report]