forked from premiere/premiere-libtorrent
remove whitespace at end of line (#1245)
This commit is contained in:
parent
31d34fec41
commit
6148984426
|
@ -123,7 +123,7 @@ script:
|
|||
- cd ..
|
||||
|
||||
- 'if [ "$lint" == "1" ]; then
|
||||
python ~/cpplint.py --extensions=cpp --headers=hpp --filter=-,+runtime/explicit --linelength=90 test/*.{cpp,hpp} src/*.cpp include/libtorrent/*.hpp include/libtorrent/kademlia/*.hpp src/kademlia/*.cpp include/libtorrent/aux_/*.hpp include/libtorrent/extensions/*.hpp simulation/*.{cpp,hpp} tools/*.{cpp,hpp} examples/*.{cpp,hpp};
|
||||
python ~/cpplint.py --extensions=cpp --headers=hpp --filter=-,+runtime/explicit,+whitespace/end_of_line --linelength=90 test/*.{cpp,hpp} src/*.cpp include/libtorrent/*.hpp include/libtorrent/kademlia/*.hpp src/kademlia/*.cpp include/libtorrent/aux_/*.hpp include/libtorrent/extensions/*.hpp simulation/*.{cpp,hpp} tools/*.{cpp,hpp} examples/*.{cpp,hpp};
|
||||
fi'
|
||||
|
||||
# if variant is not set, we do not want to build anything
|
||||
|
|
|
@ -81,7 +81,8 @@ for l in f:
|
|||
continue
|
||||
|
||||
if l.startswith('//'):
|
||||
description += l[3:]
|
||||
if l[2] == ' ': description += l[3:]
|
||||
else: description += l[2:]
|
||||
continue
|
||||
|
||||
l = l.strip()
|
||||
|
|
Loading…
Reference in New Issue