Drop unnecessary executable flags

This patch also adds checks for executable files in
pep8 job.

Change-Id: I862ee6c891af05c58ab2aca1178cfd984efb2d3c
This commit is contained in:
Ivan Kolodyazhny 2018-12-05 14:10:27 +02:00
parent 153676fb43
commit 2ac455370d
8 changed files with 17 additions and 1 deletions

0
doc/source/conf.py Executable file → Normal file
View File

11
tools/find_executables.sh Normal file
View File

@ -0,0 +1,11 @@
OUTPUT=`find . \( -name .tox -o -name .git \) -prune -o -type f -perm /a=x -print`
if [ -n "$OUTPUT" ]; then
echo "Unexpected executable files are found:"
for f in $OUTPUT; do
echo $f
done
echo
echo "If you really need to add an executable file, add it to tools/executable_files.txt"
exit 1
fi

View File

@ -14,7 +14,12 @@ commands = /bin/rm -f .testrepository/times.dbm
[testenv:pep8]
basepython = python3
commands = flake8
whitelist_externals =
bash
find
commands =
flake8
bash {toxinidir}/tools/find_executables.sh
[testenv:npm]
basepython = python3

0
vitrage_dashboard/alarms/templates/alarms/banner.html Executable file → Normal file
View File

0
vitrage_dashboard/alarms/views.py Executable file → Normal file
View File

View File

View File