Skip to content

Commit ac150eb

Browse files
committed
format
Signed-off-by: Gabriele Santomaggio <[email protected]>
1 parent 26bb1b4 commit ac150eb

File tree

7 files changed

+24
-8
lines changed

7 files changed

+24
-8
lines changed

examples/getting_started/getting_started.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
OutcomeState,
1414
QuorumQueueSpecification,
1515
)
16-
from rabbitmq_amqp_python_client.utils import string_to_bytes, bytes_to_string
16+
from rabbitmq_amqp_python_client.utils import (
17+
bytes_to_string,
18+
string_to_bytes,
19+
)
1720

1821
MESSAGES_TO_PUBLISH = 100
1922

rabbitmq_amqp_python_client/qpid/proton/_message.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@
8484
from ._common import millis2secs, secs2millis
8585
from ._data import AnnotationDict, Data, char, symbol, ulong
8686
from ._endpoints import Link
87-
from ._exceptions import EXCEPTIONS, MessageException, ArgumentOutOfRangeException
87+
from ._exceptions import (
88+
EXCEPTIONS,
89+
ArgumentOutOfRangeException,
90+
MessageException,
91+
)
8892

8993
if TYPE_CHECKING:
9094
from proton._data import Described, PythonAMQPData

rabbitmq_amqp_python_client/qpid/proton/_tracing.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232

3333
import proton
3434
from proton import Sender as ProtonSender
35-
from proton.handlers import IncomingMessageHandler as ProtonIncomingMessageHandler
36-
from proton.handlers import OutgoingMessageHandler as ProtonOutgoingMessageHandler
35+
from proton.handlers import \
36+
IncomingMessageHandler as ProtonIncomingMessageHandler
37+
from proton.handlers import \
38+
OutgoingMessageHandler as ProtonOutgoingMessageHandler
3739

3840
_tracer = None
3941
_trace_key = proton.symbol("x-opt-qpid-tracestate")

rabbitmq_amqp_python_client/qpid/proton/_transport.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@
139139

140140
if TYPE_CHECKING:
141141
from ._condition import Condition
142-
from ._endpoints import Connection # would produce circular import
142+
from ._endpoints import \
143+
Connection # would produce circular import
143144

144145

145146
class TraceAdapter:

tests/test_consumer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
Environment,
66
QuorumQueueSpecification,
77
)
8-
from rabbitmq_amqp_python_client.utils import bytes_to_string
8+
from rabbitmq_amqp_python_client.utils import (
9+
bytes_to_string,
10+
)
911

1012
from .conftest import (
1113
ConsumerTestException,

tests/test_publisher.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
StreamSpecification,
1414
ValidationCodeException,
1515
)
16-
from rabbitmq_amqp_python_client.utils import string_to_bytes
16+
from rabbitmq_amqp_python_client.utils import (
17+
string_to_bytes,
18+
)
1719

1820
from .http_requests import delete_all_connections
1921
from .utils import create_binding, publish_per_message

tests/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
Publisher,
1717
QuorumQueueSpecification,
1818
)
19-
from rabbitmq_amqp_python_client.utils import string_to_bytes
19+
from rabbitmq_amqp_python_client.utils import (
20+
string_to_bytes,
21+
)
2022

2123

2224
def publish_messages(

0 commit comments

Comments
 (0)