Skip to content

Commit 4d92a47

Browse files
committed
Make flake8-run.sh only require FLAKE=true if TRAVIS=true.
1 parent 9bc70e6 commit 4d92a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake8-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [[ ! -x $(which flake8) ]]; then
55
exit 1
66
fi
77

8-
if [[ $FLAKE == "true" ]]; then
8+
if [[ $TRAVIS != "true" || $FLAKE == "true" ]]; then
99
find html5lib/ -name '*.py' -and -not -name 'constants.py' -print0 | xargs -0 flake8 --ignore=E501
1010
flake1=$?
1111
flake8 --max-line-length=99 --ignore=E126 html5lib/constants.py

0 commit comments

Comments
 (0)