Merge "Update hacking for Python3"

This commit is contained in:
Zuul 2020-04-29 08:08:07 +00:00 committed by Gerrit Code Review
commit 14f2771431
4 changed files with 4 additions and 7 deletions

View File

@ -23,9 +23,7 @@ enmerkar==0.7.1
extras==1.0.0
fasteners==0.14.1
fixtures==3.0.0
flake8==2.5.5
futurist==2.1.0
hacking==0.12.0
horizon==18.1.0
idna==2.9
imagesize==1.2.0
@ -39,7 +37,6 @@ jsonschema==3.2.0
keystoneauth1==3.18.0
linecache2==1.0.0
MarkupSafe==1.1.1
mccabe==0.2.1
mock==2.0
monotonic==1.5
mox3==1.0.0
@ -64,10 +61,8 @@ oslo.utils==3.34.0
osprofiler==2.3.0
packaging==20.3
pbr==2.0.0
pep8==1.5.7
prettytable==0.7.2
pycparser==2.20
pyflakes==0.8.1
Pygments==2.6.1
pyinotify==0.9.6
pymongo==3.10.1

View File

@ -7,7 +7,7 @@
# be installed in a specific order.
#
# Hacking should appear first in case something else depends on pep8
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
hacking>=3.0,<3.1 # Apache-2.0
coverage>=4.0 # Apache-2.0
nodeenv>=0.9.4 # BSD
reno>=1.8.0 # Apache-2.0

View File

@ -67,5 +67,6 @@ def main(argv):
install.install_dependencies()
print_help(venv, root)
if __name__ == '__main__':
main(sys.argv)

View File

@ -59,7 +59,8 @@ deps =
[flake8]
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,node_modules
# These are currently not passing, should be removed once code is changed
ignore = F405,H102,H301,H405,H701,H702
# W504 line break after binary operator
ignore = F405,H102,H301,H405,H701,H702,W504
max-complexity = 20
[hacking]