Skip to content

Commit cdca380

Browse files
committed
Fix lint errors
1 parent 38a9537 commit cdca380

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/tsignal/__init__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
1-
import warnings
2-
31
"""
42
TSignal - Python Signal/Slot Implementation (Deprecated - Use pynnex instead)
53
"""
64

7-
warnings.warn(
8-
"The tsignal package is deprecated as of version 0.5.x. "
9-
"Please use the pynnex package instead. "
10-
"For more information, visit https://github.com/nexconnectio/pynnex",
11-
DeprecationWarning,
12-
)
5+
import warnings
136

147
from .core import (
158
t_with_signals,
@@ -22,6 +15,13 @@
2215
from .utils import t_signal_log_and_raise_error
2316
from .contrib.patterns.worker.decorators import t_with_worker
2417

18+
warnings.warn(
19+
"The tsignal package is deprecated as of version 0.5.x. "
20+
"Please use the pynnex package instead. "
21+
"For more information, visit https://github.com/nexconnectio/pynnex",
22+
DeprecationWarning,
23+
)
24+
2525
__version__ = "0.5.0"
2626

2727
__all__ = [

0 commit comments

Comments
 (0)