diff options
author | Yves-Gwenael Bourhis <yves-gwenael.bourhis@orange.com> | 2019-07-15 15:49:43 +0200 |
---|---|---|
committer | Yves-Gwenael Bourhis <yves-gwenael.bourhis@orange.com> | 2019-07-17 16:23:33 +0200 |
commit | 66144165ff39b8b7b5257e141c51a081d498963f (patch) | |
tree | e51fafb8288cda3910e182a21af823f647242e32 /tox.ini | |
parent | 350efbe4f20f9aee13ac52eaaa50c490cd8afa97 (diff) | |
download | horizon-66144165ff39b8b7b5257e141c51a081d498963f.tar.gz |
Use the python real executable
Use the real python executable as shebang
Use exec instead of execfile if using python 3
Change-Id: I8acea40851c7e9dc248751be967859b2b9430af7
Closes-Bug: #1836580
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ commands = bandit-baseline -r horizon openstack_auth openstack_dashboard -n5 -x [flake8] filename = *.py,django.wsgi -exclude = .git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,node_modules,openstack_dashboard/enabled/* +exclude = .git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,node_modules,openstack_dashboard/enabled/*,horizon_wsgi.py # W504 line break after binary operator # (W503 and W504 are incompatible and we need to choose one of them. # Existing codes follows W503, so we disable W504.) |