From: Michael Fritch Date: Thu, 25 Feb 2021 15:12:24 +0000 (-0700) Subject: cephadm: Remove bad quotes from multiline string (Q001) X-Git-Tag: v17.1.0~2749^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b8656d496237651971332ccc29f40baad6883ee;p=ceph.git cephadm: Remove bad quotes from multiline string (Q001) Signed-off-by: Michael Fritch --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index ea3229a4a22e..8b5c04643cca 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1668,10 +1668,10 @@ def infer_config(func): def _get_default_image(ctx: CephadmContext): if DEFAULT_IMAGE_IS_MASTER: - warn = '''This is a development version of cephadm. + warn = """This is a development version of cephadm. For information regarding the latest stable release: https://docs.ceph.com/docs/{}/cephadm/install -'''.format(LATEST_STABLE_RELEASE) +""".format(LATEST_STABLE_RELEASE) for line in warn.splitlines(): logger.warning('{}{}{}'.format(termcolor.yellow, line, termcolor.end)) return DEFAULT_IMAGE diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index c07e8d374ffc..688d07be1507 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -8,7 +8,6 @@ inline-quotes = ' ignore = E501, W503, - Q001, Q003, exclude = .tox,