nova/compute/disk.py:169:1: W293 blank line contains whitespace
^
JCR: Trailing whitespace is superfluous.
FBM: Except when it occurs as part of a blank line (i.e. the line is
nothing but whitespace). According to Python docs[1] a line with only
whitespace is considered a blank line, and is to be ignored. However,
matching a blank line to its indentation level avoids mistakenly terminating a multi-line statement (e.g. class declaration) when
pasting code into the standard Python interpreter.
The attempt to merge lp:~gundlach/nova/lp666554 into lp:nova failed. Below is the output from the failed tests.
nova/compute/ disk.py: 169:1: W293 blank line contains whitespace
^
terminating a multi-line statement (e.g. class declaration) when
JCR: Trailing whitespace is superfluous.
FBM: Except when it occurs as part of a blank line (i.e. the line is
nothing but whitespace). According to Python docs[1] a line with only
whitespace is considered a blank line, and is to be ignored. However,
matching a blank line to its indentation level avoids mistakenly
pasting code into the standard Python interpreter.
[1] http:// docs.python. org/reference/ lexical_ analysis. html#blank- lines
The warning returned varies on whether the line itself is blank, for easier
filtering for those who want to indent their blank lines.
Okay: spam(1)
W291: spam(1)\s
W293: class Foo(object):\n \n bang = 12