mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
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
@@ -3,7 +3,7 @@ print(0 | (1 << 80))
|
||||
a = 0xfffffffffffffffffffffffffffff
|
||||
print(a | (1 << 200))
|
||||
|
||||
# test + +
|
||||
# test + +
|
||||
|
||||
print(0 | (1 << 80))
|
||||
print((1 << 80) | (1 << 80))
|
||||
@@ -15,7 +15,7 @@ print(a | (1 << 200))
|
||||
print(a | a == 0)
|
||||
print(bool(a | a))
|
||||
|
||||
# test - +
|
||||
# test - +
|
||||
|
||||
print((-1 << 80) | (1 << 80))
|
||||
print((-1 << 80) | 0)
|
||||
@@ -25,7 +25,7 @@ print((-a) | (1 << 200))
|
||||
print((-a) | a == 0)
|
||||
print(bool((-a) | a))
|
||||
|
||||
# test + -
|
||||
# test + -
|
||||
|
||||
print(0 | (-1 << 80))
|
||||
print((1 << 80) | (-1 << 80))
|
||||
@@ -35,7 +35,7 @@ print(a | (-1 << 200))
|
||||
print(a | (-a) == 0)
|
||||
print(bool(a | (-a)))
|
||||
|
||||
# test - -
|
||||
# test - -
|
||||
|
||||
print((-1 << 80) | (-1 << 80))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user