Lightning-rod is the IoT node-side agent for the IoTronic service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9 KiB

minversion = 2.3.1
envlist = py36,py37,py38,pep8
skipsdist = True
setenv =
whitelist_externals = bash
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:} {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
basepython = python3.8
#commands = /usr/local/bin/flake8 {posargs}
#commands = /usr/bin/flake8 {posargs}
commands = flake8 {posargs}
commands = {posargs}
commands = python3 test --coverage --testr-args='{posargs}'
commands =
rm -fr doc/build
python3 build_sphinx
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
basepython = python3.6
basepython = python3.7
basepython = python3.8
# TODO(dmllr): Analyze or fix the warnings blacklisted below
# E711 comparison to None should be 'if cond is not None:'
# E712 comparison to True should be 'if cond is True:' or 'if cond:'
# H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
builtins = _
#ignore = E711,E712,H404,H405,E123,E125,E901,H301
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,E711,E712,H405,W504,E731,H238,E126,E128,E731,H405,N530,W504,E129,E741,W503,F821,F999,F841,E402,W605,E502
exclude = .venv,.git,.tox,dist,doc,etc,*lib/python*,*egg,build,iotronic_lightningrod/modules/plugins/plugins_examples/,STUFF