forked from arska/python-daikinapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
75 lines (69 loc) · 1.38 KB
/
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tox]
envlist =
clean
pylint
flake8
py35
py36
py37
py38
pypy3
report
skip_missing_interpreters = True
requires =
tox-pip-extensions
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
pypy3: pypy3
[testenv]
#deps =
# pytest
# pytest-cov
#commands =
# pip install -e .
# pytest --cov --cov-append
#norecursedirs = .tox
[testenv:clean]
#deps = coverage
#skip_install = true
#commands = coverage erase
[testenv:report]
#passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*
#deps =
# coverage
# codecov
#skip_install = true
#commands =
# coverage report --omit='.tox/*'
# coverage html --omit='.tox/*'
# codecov -e TOXENV
[testenv:flake8]
basepython = python3.6
deps = flake8
flake8-isort
flake8-black
flake8-blind-except
flake8-builtins
flake8-docstrings
flake8-bugbear
flake8-mypy
pep8-naming
flake8-assertive
flake8-mock
flake8-bandit
commands = flake8
[testenv:pylint]
deps =
pylint
-rrequirements.txt
commands = pylint --disable=bad-continuation daikinapi
# pylint known bug https://github.com/ambv/black/issues/48
# https://stackoverflow.com/questions/17142236/how-do-i-make-pylint-recognize-twisted-and-ephem-members
[flake8]
exclude = .tox,venv,*.egg*,.git,__pycache__,*.pyc*,build,dist
max-line-length = 88
select = C,E,F,G,W,B,B902,B950
ignore = E501,W503