Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bc70e6

Browse files
committed
Fix flake8-run.sh to return non-zero on failure.
1 parentaf6667a commit9bc70e6

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)

[8]ページ先頭

©2009-2025 Movatter.jp