Skip to content

Commit 8416b8e

Browse files
authored
Fix library API type checking in strict mode
Redundantly reimporting the API marks the symbols as public See #7 for more discussion
1 parent 5720e39 commit 8416b8e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

factorio_rcon/__init__.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
from ._impl import (
2-
AsyncRCONClient,
3-
InvalidPassword,
4-
InvalidResponse,
5-
PacketType,
6-
RCONBaseError,
7-
RCONClient,
8-
RCONClosed,
9-
RCONConnectError,
10-
RCONMessage,
11-
RCONNetworkError,
12-
RCONNotConnected,
13-
RCONReceiveError,
14-
RCONSendError,
15-
RCONSharedBase,
2+
AsyncRCONClient as AsyncRCONClient,
3+
InvalidPassword as InvalidPassword,
4+
InvalidResponse as InvalidResponse,
5+
PacketType as PacketType,
6+
RCONBaseError as RCONBaseError,
7+
RCONClient as RCONClient,
8+
RCONClosed as RCONClosed,
9+
RCONConnectError as RCONConnectError,
10+
RCONMessage as RCONMessage,
11+
RCONNetworkError as RCONNetworkError,
12+
RCONNotConnected as RCONNotConnected,
13+
RCONReceiveError as RCONReceiveError,
14+
RCONSendError as RCONSendError,
15+
RCONSharedBase as RCONSharedBase,
1616
)
1717

1818
# update the module paths to avoid factorio_rcon._impl.obj names

0 commit comments

Comments
 (0)