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 <jmulligan@redhat.com>
(cherry picked from commit
05b76159b6a262b6bbdab3c0b41a80a85bf705e0)
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"