Use tox for testing inside a container #1884
|
@ -8,6 +8,7 @@ max-line-length = 119
|
|||
|
||||
[flake8]
|
||||
max-line-length = 119
|
||||
exclude = bitmessagecli.py,bitmessagecurses,bitmessageqt,tests,umsgpack
|
||||
ignore = E722,F841,W503
|
||||
# E722: pylint is preferred for bare-except
|
||||
# F841: pylint is preferred for unused-variable
|
||||
|
|
12
tox.ini
12
tox.ini
|
@ -23,8 +23,16 @@ skip_install = true
|
|||
commands = python pybitmessage/bitmessagemain.py -t
|
||||
|
||||
[testenv:reset]
|
||||
deps = coverage
|
||||
commands = coverage erase
|
||||
deps =
|
||||
coverage
|
||||
bandit
|
||||
flake8
|
||||
commands =
|
||||
coverage erase
|
||||
bandit -r --exit-zero -s B105,B301,B411,B413,B608 \
|
||||
-x checkdeps.*,bitmessagecurses,bitmessageqt,tests pybitmessage
|
||||
flake8 pybitmessage --count --select=E9,F63,F7,F82 \
|
||||
--show-source --statistics
|
||||
|
||||
[testenv:stats]
|
||||
deps = coverage
|
||||
|
|
Reference in New Issue
Block a user