Skip to content

Commit e2bde23

Browse files
committed
Run isort
(this tool has not been written by Apple) Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
1 parent b51a0d7 commit e2bde23

7 files changed

Lines changed: 10 additions & 5 deletions

File tree

bugzilla2fedmsg/consumer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from stompest.protocol import StompSpec
1515
from stompest.sync import Stomp
1616

17+
1718
LOGGER = logging.getLogger(__name__)
1819

1920

bugzilla2fedmsg/relay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import pytz
55
from fedora_messaging.api import publish
6-
from fedora_messaging.exceptions import PublishReturned, ConnectionException
6+
from fedora_messaging.exceptions import ConnectionException, PublishReturned
77
from fedora_messaging.message import INFO
88

99
from bugzilla2fedmsg_schema.schema import MessageV1, MessageV1BZ4

bugzilla2fedmsg_schema/schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
from fedora_messaging import message
66
from fedora_messaging.schema_utils import libravatar_url
7+
78
from .utils import comma_join, email_to_fas
89

910

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
from setuptools import setup, find_packages
3+
from setuptools import find_packages, setup
44

55

66
setup(

tests/test_consumer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import pytest
2-
from bugzilla2fedmsg.consumer import BugzillaConsumer
32
from stompest.error import StompConnectionError, StompProtocolError
43
from stompest.protocol import StompSpec
54
from stompest.protocol.frame import StompFrame
65

6+
from bugzilla2fedmsg.consumer import BugzillaConsumer
7+
78

89
@pytest.fixture
910
def consumer_config():

tests/test_relay.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77

88
from unittest import mock
99

10-
import bugzilla2fedmsg.relay
1110
import fedora_messaging.exceptions
1211

12+
import bugzilla2fedmsg.relay
13+
1314

1415
class TestRelay(object):
1516
relay = bugzilla2fedmsg.relay.MessageRelay(

tests/test_schemas.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77

88
from unittest import mock
99

10-
import bugzilla2fedmsg.relay
1110
import pytest
1211
from jsonschema.exceptions import ValidationError
1312

13+
import bugzilla2fedmsg.relay
14+
1415

1516
class TestSchemas(object):
1617
# We are basically going to use the relays to construct messages

0 commit comments

Comments
 (0)