Skip to content

Commit 5fee0a1

Browse files
fix: place main imports below local vars
1 parent 33037e3 commit 5fee0a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hydrogram/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323

2424
from concurrent.futures.thread import ThreadPoolExecutor
2525

26-
from . import emoji, enums, errors, filters, handlers, raw, types
27-
from .client import Client
28-
from .sync import compose, idle
29-
3026

3127
class StopTransmission(Exception): # noqa: N818
3228
pass
@@ -41,6 +37,10 @@ class ContinuePropagation(StopAsyncIteration):
4137

4238
crypto_executor = ThreadPoolExecutor(1, thread_name_prefix="CryptoWorker")
4339

40+
# ruff: noqa: E402
41+
from . import emoji, enums, errors, filters, handlers, raw, types
42+
from .client import Client
43+
from .sync import compose, idle
4444

4545
__all__ = [
4646
"Client",

0 commit comments

Comments
 (0)