diff options
author | Darja Shakhray <dshakhray@mirantis.com> | 2015-07-20 17:29:49 +0300 |
---|---|---|
committer | Darja Shakhray <dshakhray@mirantis.com> | 2015-07-21 17:08:27 +0300 |
commit | ec0f2dfd8500d230895e286462aaf69c43777038 (patch) | |
tree | d3ef94392fe49f222f07a7e33cb2a371185f95f5 /glanceclient/shell.py | |
parent | d9d586942bf3f78ba174eb5832f60d80a7c839ca (diff) | |
download | python-glanceclient-ec0f2dfd8500d230895e286462aaf69c43777038.tar.gz |
Enable flake8 checks
This commit enables new flake8 checks:
* E265 block comment should start with '# '
* H405 multi line docstring summary not separated with an empty line
* E123 closing bracket does not match indentation of opening bracket's line
* H238 old style class declaration, use new style (inherit from `object`)
* E128 continuation line under-indented for visual indent
and makes related changes in the code.
Change-Id: Ie993afc930f6b74d7a990bcaa9fc0e9f5ba1585c
Diffstat (limited to 'glanceclient/shell.py')
-rwxr-xr-x[-rw-r--r--] | glanceclient/shell.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/glanceclient/shell.py b/glanceclient/shell.py index 7449631..82195c8 100644..100755 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -682,9 +682,7 @@ class OpenStackImagesShell(object): @utils.arg('command', metavar='<subcommand>', nargs='?', help='Display help for <subcommand>.') def do_help(self, args): - """ - Display help about this program or one of its subcommands. - """ + """Display help about this program or one of its subcommands.""" if getattr(args, 'command', None): if args.command in self.subcommands: self.subcommands[args.command].print_help() |