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
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,3 +9,5 @@ build/
|
||||
# pbr-generated stuff
|
||||
/AUTHORS
|
||||
/ChangeLog
|
||||
/RELEASENOTES.rst
|
||||
/releasenotes/notes/reno.cache
|
||||
|
@ -2,10 +2,8 @@
|
||||
# of appearance. Changing the order has an impact on the overall integration
|
||||
# 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
|
||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
|
8
tox.ini
8
tox.ini
@ -1,10 +1,10 @@
|
||||
[tox]
|
||||
minversion = 2.0
|
||||
minversion = 3.2
|
||||
envlist = py37,pep8
|
||||
ignore_basepython_conflict = true
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
install_command = pip install {opts} {packages}
|
||||
whitelist_externals =
|
||||
rm
|
||||
deps =
|
||||
@ -46,7 +46,9 @@ commands = oslo_debug_helper {posargs}
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
#
|
||||
# W504 skipped since you must choose either W503 or W504 (they conflict)
|
||||
show-source = True
|
||||
ignore = E123,E125,H405
|
||||
ignore = E123,E125,H405,W504
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user