03a058bfcf
The tox configuration needs to be updated in order for it to be helpful for Zuul. This change makes some minor modifications to the tox config to improve its usability and uniformity with other Open Stack configs. Makes bare minimum changes for pep8 tests compliance. Adds gate scripts for white space linting. In the future, additional changes will need to be made to add tests to Spyglass. These changes will need to enable the 'py36' and 'cover' tox env and set coverage levels. Additional linting should also be performed to improve Spyglass code readability and organization. Change-Id: I73f946619786e661d02c69bd8e197453f049e0c7
10 lines
93 B
Bash
Executable File
10 lines
93 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
|
|
RES=$(git grep -E -l " +$")
|
|
|
|
if [[ -n $RES ]]; then
|
|
exit 1
|
|
fi
|