]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: Remove bad quotes from multiline string (Q001)
authorMichael Fritch <mfritch@suse.com>
Thu, 25 Feb 2021 15:12:24 +0000 (08:12 -0700)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:16 +0000 (07:56 -0500)
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 3b8656d496237651971332ccc29f40baad6883ee)

src/cephadm/cephadm
src/cephadm/tox.ini

index 4e51fbcacf5abd6d5c1c67d648456a13dfd4170b..f1b1cf6a50a22830a6f63f0dfa9578731679166d 100755 (executable)
@@ -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
index c07e8d374ffc554164f086ec1b2ee819d7c8729d..688d07be150741c0fa1aa6e1550e947ad82a1484 100644 (file)
@@ -8,7 +8,6 @@ inline-quotes = '
 ignore =
     E501,
     W503,
-    Q001,
     Q003,
 exclude =
     .tox,