Skip to content

Commit 9bc70e6

Browse files
committed
Fix flake8-run.sh to return non-zero on failure.
1 parent af6667a commit 9bc70e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flake8-run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ fi
77

88
if [[ $FLAKE == "true" ]]; then
99
find html5lib/ -name '*.py' -and -not -name 'constants.py' -print0 | xargs -0 flake8 --ignore=E501
10+
flake1=$?
1011
flake8 --max-line-length=99 --ignore=E126 html5lib/constants.py
12+
flake2=$?
13+
exit $[$flake1 || $flake2]
1114
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy