Reconfigure tox.ini
Update minversion of tox to 3.9.0 to support inline comments [1]
Move pep8 and coverage requirements to tox.ini
Fix typo in coverage job
[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17
Change-Id: I3f39b25ee0fd44c1bc51f94a7fbee74de8cba65d
diff --git a/tox.ini b/tox.ini
index ac55994..65b5243 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 3.2.1
+minversion = 3.9.0
envlist = pep8
skipsdist = True
ignore_basepython_conflict=true
@@ -15,6 +15,10 @@
commands = stestr run --slowest {posargs}
[testenv:pep8]
+deps =
+ hacking>=3.1.0,<4.0.0 # Apache-2.0
+ flake8-import-order>=0.17.1 # LGPLv3
+ pycodestyle>=2.0.0,<2.7.0 # MIT
commands = flake8 {posargs}
[testenv:venv]
@@ -27,7 +31,7 @@
commands =
stestr run {posargs}
coverage combine
- coverage htlm -d cover
+ coverage html -d cover
coverage xml -o cover/coverage.xml
[testenv:docs]