From: Michael Fritch Date: Wed, 17 Feb 2021 03:46:19 +0000 (-0700) Subject: cephadm: continuation line unaligned for hanging indent (E131) X-Git-Tag: v17.1.0~2749^2~29 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5ba2b30f788aa5001e0ec6a5fb168be5e8b59bad;p=ceph.git cephadm: continuation line unaligned for hanging indent (E131) Signed-off-by: Michael Fritch --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index da09b1330abc..c36fd8fe14d6 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -6733,10 +6733,10 @@ class CephadmDaemon(): logger.exception(exc) self.cephadm_cache.update_task( thread_type, - { - "scrape_errors": errors, - "data": None, - } + { + "scrape_errors": errors, + "data": None, + } ) def _scrape_host_facts(self, refresh_interval=10): @@ -7354,7 +7354,7 @@ def _get_parser(): "Support multiple mounts. " "ie: `--mount /foo /bar:/bar`. " "When no destination is passed, default is /mnt"), - nargs='+') + nargs='+') parser_shell.add_argument( '--env', '-e', action='append', diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index d72d29278231..ed4ddd9a26dc 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -5,7 +5,6 @@ skipsdist=true [flake8] max-line-length = 100 ignore = - E131, E201, E203, E225,