File tree Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 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-
3220before_install :
3321 - git submodule update --init --recursive
3422
Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ if [[ ! -x $(which flake8) ]]; then
55 exit 1
66fi
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 ]
You can’t perform that action at this time.
0 commit comments