From: Michael Fritch Date: Wed, 24 Feb 2021 20:48:37 +0000 (-0700) Subject: cephadm: introduce flake8-quotes X-Git-Tag: v16.2.0~106^2~115 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cea4dae9af5f8354c2078d2e9c623e6ddafbe04a;p=ceph.git cephadm: introduce flake8-quotes Signed-off-by: Michael Fritch (cherry picked from commit 49f25f56ae44b2b8d185e866d75cb7a5041c8dcc) --- diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index 754e4ccfd111..587b9a8ea2c3 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -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}