Switch to hacking 2.x
This supports Python 3 goodness. Some additional tox and gitignore tweaks are included while we're here. Change-Id: Id1a7a90119be242486584a3b5d6939083bfac84d Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
865cf20732
commit
bca5bace07
|
@ -9,3 +9,5 @@ build/
|
||||||
# pbr-generated stuff
|
# pbr-generated stuff
|
||||||
/AUTHORS
|
/AUTHORS
|
||||||
/ChangeLog
|
/ChangeLog
|
||||||
|
/RELEASENOTES.rst
|
||||||
|
/releasenotes/notes/reno.cache
|
||||||
|
|
|
@ -2,10 +2,8 @@
|
||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
hacking>=2.0.0,<2.1.0 # Apache-2.0
|
||||||
|
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
|
||||||
oslotest>=3.2.0 # Apache-2.0
|
oslotest>=3.2.0 # Apache-2.0
|
||||||
stestr>=2.0.0 # Apache-2.0
|
stestr>=2.0.0 # Apache-2.0
|
||||||
testscenarios>=0.4 # Apache-2.0/BSD
|
testscenarios>=0.4 # Apache-2.0/BSD
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -1,10 +1,10 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 2.0
|
minversion = 3.2
|
||||||
envlist = py37,pep8
|
envlist = py37,pep8
|
||||||
|
ignore_basepython_conflict = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
install_command = pip install {opts} {packages}
|
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
rm
|
rm
|
||||||
deps =
|
deps =
|
||||||
|
@ -46,7 +46,9 @@ commands = oslo_debug_helper {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E123, E125 skipped as they are invalid PEP-8.
|
# E123, E125 skipped as they are invalid PEP-8.
|
||||||
|
#
|
||||||
|
# W504 skipped since you must choose either W503 or W504 (they conflict)
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = E123,E125,H405
|
ignore = E123,E125,H405,W504
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
||||||
|
|
Loading…
Reference in New Issue