nova/compute/api.py:378: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 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
nova/compute/api.py:379:50: W291 trailing whitespace
:retval: A dict containing image metadata ^
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:~rconradharris/nova/xs-snap-return-image-id-before-snapshot into lp:nova failed. Below is the output from the failed tests.
nova/compute/ api.py: 378: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) api.py: 379:50: W291 trailing whitespace
^
terminating a multi-line statement (e.g. class declaration) when
W291: spam(1)\s
W293: class Foo(object):\n \n bang = 12
nova/compute/
:retval: A dict containing image metadata
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