mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
14
testing/web-platform/tests/tools/html5lib/flake8-run.sh
Normal file
14
testing/web-platform/tests/tools/html5lib/flake8-run.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
if [[ ! -x $(which flake8) ]]; then
|
||||
echo "fatal: flake8 not found on $PATH. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $TRAVIS != "true" || $FLAKE == "true" ]]; then
|
||||
find html5lib/ -name '*.py' -and -not -name 'constants.py' -print0 | xargs -0 flake8 --ignore=E501
|
||||
flake1=$?
|
||||
flake8 --max-line-length=99 --ignore=E126 html5lib/constants.py
|
||||
flake2=$?
|
||||
exit $[$flake1 || $flake2]
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue