From 846629ca3534b0331f3f683831e10642f9da22de Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Fri, 8 Apr 2022 11:15:55 -0400 Subject: [PATCH] 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) --- src/pybind/mgr/object_format.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pybind/mgr/object_format.py b/src/pybind/mgr/object_format.py index 771ed1b9efbf2..4a3fdeb9cf650 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" -- 2.39.5