all: Prune trailing whitespace.
Prune trailing whitespace across the whole project (almost), done
automatically with:
grep -IUrl --color "[[:blank:]]$" --exclude-dir=.git --exclude=*.exp |\
xargs sed -i 's/[[:space:]]*$//'
Exceptions:
- Skip third-party code in lib/ and drivers/cc3100/
- Skip generated code in bluetooth_init_cc2564C_1.5.c
- Preserve command output whitespace in docs, eg:
docs/esp8266/tutorial/repl.rst
Signed-off-by: Phil Howard <phil@gadgetoid.com>
This commit is contained in:
committed by
Damien George
parent
decf8e6a8b
commit
dda9b9c6da
@@ -2,7 +2,7 @@
|
||||
def gen():
|
||||
yield 123
|
||||
yield 456
|
||||
|
||||
|
||||
g = gen()
|
||||
print(next(g))
|
||||
try:
|
||||
@@ -31,7 +31,7 @@ def gen():
|
||||
except GeneratorExit as e:
|
||||
print('GeneratorExit', repr(e.args))
|
||||
yield 456
|
||||
|
||||
|
||||
# thrown a class
|
||||
g = gen()
|
||||
print(next(g))
|
||||
|
||||
Reference in New Issue
Block a user