fix(python): no blank line after return
This commit is contained in:
@@ -114,7 +114,6 @@ return {
|
|||||||
{ "parameters", "\t%s: $1", { before_first_item = { "", "Args:" } } },
|
{ "parameters", "\t%s: $1", { before_first_item = { "", "Args:" } } },
|
||||||
{ "attributes", "\t%s: $1", { before_first_item = { "", "Attributes: " } } },
|
{ "attributes", "\t%s: $1", { before_first_item = { "", "Attributes: " } } },
|
||||||
{ "return_statement", "\t$1", { before_first_item = { "", "Returns: " } } },
|
{ "return_statement", "\t$1", { before_first_item = { "", "Returns: " } } },
|
||||||
{ nil, "" },
|
|
||||||
{ nil, '"""' },
|
{ nil, '"""' },
|
||||||
},
|
},
|
||||||
numpydoc = {
|
numpydoc = {
|
||||||
@@ -123,7 +122,6 @@ return {
|
|||||||
{ "parameters", "%s: $1", { before_first_item = { "", "Parameters", "----------" } } },
|
{ "parameters", "%s: $1", { before_first_item = { "", "Parameters", "----------" } } },
|
||||||
{ "attributes", "%s: $1", { before_first_item = { "", "Attributes", "----------" } } },
|
{ "attributes", "%s: $1", { before_first_item = { "", "Attributes", "----------" } } },
|
||||||
{ "return_statement", "$1", { before_first_item = { "", "Returns", "-------" } } },
|
{ "return_statement", "$1", { before_first_item = { "", "Returns", "-------" } } },
|
||||||
{ nil, "" },
|
|
||||||
{ nil, '"""' },
|
{ nil, '"""' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user