From: John Mulligan Date: Fri, 8 Apr 2022 15:15:55 +0000 (-0400) Subject: pybind/mgr: reformat quoting in format enum X-Git-Tag: v17.2.1~48^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=846629ca3534b0331f3f683831e10642f9da22de;p=ceph.git pybind/mgr: reformat quoting in format enum Whenever possible I use 'black' to reformat the python code. It's strict and its formatting is superset of what ceph's formatting tools require. This change updates the code that was moved into this file so that future uses of 'black' don't reformat this section too. Signed-off-by: John Mulligan (cherry picked from commit 05b76159b6a262b6bbdab3c0b41a80a85bf705e0) --- diff --git a/src/pybind/mgr/object_format.py b/src/pybind/mgr/object_format.py index 771ed1b9efbf..4a3fdeb9cf65 100644 --- a/src/pybind/mgr/object_format.py +++ b/src/pybind/mgr/object_format.py @@ -3,11 +3,11 @@ import enum -class Format(enum.Enum): - plain = 'plain' - json = 'json' - json_pretty = 'json-pretty' - yaml = 'yaml' - xml_pretty = 'xml-pretty' - xml = 'xml' +class Format(enum.Enum): + plain = "plain" + json = "json" + json_pretty = "json-pretty" + yaml = "yaml" + xml_pretty = "xml-pretty" + xml = "xml"