File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ format:
2626format_doc :
2727 # Trim white space
2828 sed -i -e ' s_[[:space:]]*$$__' README.md
29+ # Trim trailing empty line
30+ sed -i -e ' $${/^$$/d;}' README.md
2931 # Replace true->True false->False: sed -e "s/\b\(false\|true\)/\u\1/g"
3032 find . -type f -iname ' *.md' -exec sed -i -e ' s_\b\(false\|true\)_\u\1_g' ' {}' \;
3133
Original file line number Diff line number Diff line change @@ -149,4 +149,3 @@ Class | Method | HTTP request | Description
149149- [ RecognizeBase64Request] ( docs/RecognizeBase64Request.md )
150150- [ RegionPoint] ( docs/RegionPoint.md )
151151- [ ScanBase64Request] ( docs/ScanBase64Request.md )
152-
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def sub_match(match):
2020 return read_text (file_name )
2121
2222 text = REPLACE_RE .sub (sub_match , content )
23- print (text )
23+ print (text , end = "" )
2424
2525
2626def parse_args () -> typing .Dict [str , typing .Any ]:
You can’t perform that action at this time.
0 commit comments