Skip to content

Commit 6e4fd1b

Browse files
committed
Explicitly list imports
1 parent 198f514 commit 6e4fd1b

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

riemann_client/__init__.py

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
11
"""A Python Riemann client and command line tool"""
22

3-
from .client import (
4-
Client, QueuedClient # noqa
5-
)
6-
3+
from .client import Client, QueuedClient
74
from .transport import (
8-
RiemannError, SocketTransport, UDPTransport, # noqa
9-
TCPTransport, TLSTransport, BlankTransport, # noqa
5+
BlankTransport,
6+
RiemannError,
7+
SocketTransport,
8+
TCPTransport,
9+
TLSTransport,
10+
UDPTransport,
1011
)
1112

12-
1313
try:
14-
from .client import AutoFlushingQueuedClient # noqa
14+
from .client import AutoFlushingQueuedClient
1515
except ImportError:
1616
pass
1717

1818
__version__ = '6.4.0'
1919
__author__ = 'Sam Clements <sam.clements@datasift.com>'
20+
21+
__all__ = (
22+
"AutoFlushingQueuedClient",
23+
"BlankTransport",
24+
"Client",
25+
"QueuedClient",
26+
"RiemannError",
27+
"SocketTransport",
28+
"TCPTransport",
29+
"TLSTransport",
30+
"UDPTransport",
31+
)

0 commit comments

Comments
 (0)