File tree 2 files changed +5
-19
lines changed
2 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 17
17
- USE_OPTIONAL=true
18
18
- USE_OPTIONAL=false
19
19
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
-
32
20
before_install :
33
21
- git submodule update --init --recursive
34
22
Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ if [[ ! -x $(which flake8) ]]; then
5
5
exit 1
6
6
fi
7
7
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