summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorYves-Gwenael Bourhis <yves-gwenael.bourhis@orange.com>2019-07-15 15:49:43 +0200
committerYves-Gwenael Bourhis <yves-gwenael.bourhis@orange.com>2019-07-17 16:23:33 +0200
commit66144165ff39b8b7b5257e141c51a081d498963f (patch)
treee51fafb8288cda3910e182a21af823f647242e32 /tox.ini
parent350efbe4f20f9aee13ac52eaaa50c490cd8afa97 (diff)
downloadhorizon-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.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 62e068313..a3e72c4de 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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.)