]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: introduce flake8-quotes
authorMichael Fritch <mfritch@suse.com>
Wed, 24 Feb 2021 20:48:37 +0000 (13:48 -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 49f25f56ae44b2b8d185e866d75cb7a5041c8dcc)

src/cephadm/tox.ini

index 754e4ccfd11173ae1256a5a59c41fbfac714ee6c..587b9a8ea2c3e02aed026aa190ccb2eea878352d 100644 (file)
@@ -4,9 +4,13 @@ skipsdist=true
 
 [flake8]
 max-line-length = 100
+inline-quotes = '
 ignore =
     E501,
     W503,
+    Q000,
+    Q001,
+    Q003,
 exclude =
     .tox,
     .vagrant,
@@ -32,5 +36,6 @@ commands = mypy --config-file ../mypy.ini {posargs:cephadm}
 basepython = python3
 deps =
     flake8
+    flake8-quotes
 commands =
     flake8 --config=tox.ini {posargs:cephadm}