Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Stack Documentation and UX
-
Labels:
-
Story Points:0.1
-
Epic Link:
-
Team:SQuaRE
Description
1. autopep8 should not add blank line before docstring:
$ cat /etc/debian_version
|
8.6
|
$ autopep8 . --in-place --recursive --ignore E133,E226,E228,E251,N802,N803 --max-line-length 110
|
...
|
$ git diff
|
...
|
+
|
class _UnreadableConfigError(_ToolError):
|
+
|
def __init__(self, config):
|
_ToolError.__init__(self, "Can't access the config file: " + str(config))
|
|
|
-####################################################################################
|
+#
|
class CommandParser(object):
|
+
|
"""
|
Parse commands and calls appropriate function from qservAdmin.
|
"""
|
|
requiredOpts = {
|
- "createDb" : [ # Db opts
|
+ "createDb": [ # Db opts
|
...
|
$ pydocstyle
|
bash: pydocstyle: command not found
|
Attachments
Issue Links
- is triggered by
-
DM-8650 Add static code analysis for python
- Done
I'm pretty sure that autopep8 itself does not add a blank line by default as we have made extensive use of this command as part of the Python 3 port and lines were not added.