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

Commit77c63f9

Browse files
committed
Run flake8 in all builds on Travis.
1 parent91876a7 commit77c63f9

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

‎.travis.yml‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,6 @@ env:
1717
-USE_OPTIONAL=true
1818
-USE_OPTIONAL=false
1919

20-
matrix:
21-
exclude:
22-
-python:"2.7"
23-
env:USE_OPTIONAL=false
24-
-python:"3.4"
25-
env:USE_OPTIONAL=false
26-
include:
27-
-python:"2.7"
28-
env:USE_OPTIONAL=false FLAKE=true
29-
-python:"3.4"
30-
env:USE_OPTIONAL=false FLAKE=true
31-
3220
before_install:
3321
-git submodule update --init --recursive
3422

‎flake8-run.sh‎

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp