From 3b8656d496237651971332ccc29f40baad6883ee Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Thu, 25 Feb 2021 08:12:24 -0700 Subject: [PATCH] cephadm: Remove bad quotes from multiline string (Q001) Signed-off-by: Michael Fritch --- src/cephadm/cephadm | 4 ++-- src/cephadm/tox.ini | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index ea3229a4a22e0..8b5c04643cca1 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 c07e8d374ffc5..688d07be15074 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -8,7 +8,6 @@ inline-quotes = ' ignore = E501, W503, - Q001, Q003, exclude = .tox, -- 2.39.5