Enable Flake8 Whitespace Errors
Flake8 currently ignores a number of whitespace related errors:
E201: whitespace after '['
E202: whitespace before '}'
E203: whitespace before ':'
E211: whitespace before '('
E221: multiple spaces before operator
E222: multiple spaces after operator
E225: missing whitespace around operator
E226: missing whitespace around arithmetic operator
E231: missing whitespace after ','
E251: unexpected spaces around keyword / parameter equals
E261: at least two spaces before inline comment
Enable them for more thorough testing of code
Change-Id: Id03f36070b8f16694a12f4d36858680b6e00d530
Story: 2004515
Task: 30076
Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
This commit is contained in:
@@ -268,7 +268,7 @@ def read_func():
|
||||
UPPER_HEX_IP += val
|
||||
UPPER_HEX_IP += ':'
|
||||
tmp = hex(int(port)).split('x')[-1].upper()
|
||||
for i in range(4-len(tmp)):
|
||||
for i in range(4 - len(tmp)):
|
||||
UPPER_HEX_IP += '0'
|
||||
UPPER_HEX_IP += tmp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user