]> git.apps.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)
committerMichael Fritch <mfritch@suse.com>
Wed, 3 Mar 2021 16:33:32 +0000 (09:33 -0700)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm
src/cephadm/tox.ini

index ea3229a4a22e0d7bcf56e49acb9be2fcb326fa44..8b5c04643cca11f00c248b7ca8ece2edfdd80001 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,