]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
python-common: reformat service_spec import line
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 26 Jun 2023 14:15:57 +0000 (10:15 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 9 Aug 2023 17:48:07 +0000 (13:48 -0400)
Use the "black" style of multi-line import with parens.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/python-common/ceph/deployment/service_spec.py

index 9ea5c36cb90a898be2b2c4d8b703c042b7d3aa22..a72536ce4fed386e11bb4ef6343543d2c502c748 100644 (file)
@@ -6,8 +6,21 @@ from collections import OrderedDict
 from contextlib import contextmanager
 from functools import wraps
 from ipaddress import ip_network, ip_address
-from typing import Optional, Dict, Any, List, Union, Callable, Iterable, Type, TypeVar, cast, \
-    NamedTuple, Mapping, Iterator
+from typing import (
+    Any,
+    Callable,
+    Dict,
+    Iterable,
+    Iterator,
+    List,
+    Mapping,
+    NamedTuple,
+    Optional,
+    Type,
+    TypeVar,
+    Union,
+    cast,
+)
 
 import yaml