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>
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"