FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
html5lib-python/flake8-run.sh at master · losintikfos/html5lib-python · GitHub
losintikfos
/
html5lib-python
Public
forked from
html5lib/html5lib-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
html5lib-python
/
flake8-run.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
14 lines (12 loc) · 393 Bytes
Breadcrumbs
html5lib-python
/
flake8-run.sh
Copy path
File metadata and controls
executable file
·
14 lines (12 loc) · 393 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
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
Back
|
FazBrowse Home
|
New Git URL