Skip to content

Commit 464f392

Browse files
committed
Added module in __all__.
1 parent 88bfc82 commit 464f392

File tree

4 files changed

+175
-13
lines changed

4 files changed

+175
-13
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
types:
3434
- rust
3535
name: rust fmt
36-
language: system
36+
language: unsupported
3737
entry: cargo
3838
pass_filenames: false
3939
args:
@@ -43,7 +43,7 @@ repos:
4343
types:
4444
- rust
4545
name: fixing fixable clippy
46-
language: system
46+
language: unsupported
4747
pass_filenames: false
4848
entry: cargo
4949
args:
@@ -55,7 +55,7 @@ repos:
5555
types:
5656
- rust
5757
name: rust clippy
58-
language: system
58+
language: unsupported
5959
pass_filenames: false
6060
entry: cargo
6161
args:
@@ -65,7 +65,7 @@ repos:
6565
types:
6666
- rust
6767
name: rust cargo check
68-
language: system
68+
language: unsupported
6969
entry: cargo
7070
pass_filenames: false
7171
args:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ email = "s3riussan@gmail.com"
2626
dev = [
2727
"anyio>=4,<5",
2828
"mypy>=1.19.1,<2",
29+
"pre-commit>=4.5.1,<5",
2930
"pytest>=9,<10",
3031
"pytest-xdist>=3,<4",
3132
]

python/natsrpy/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1+
from . import js
12
from ._natsrpy_rs import CallbackSubscription, IteratorSubscription, Message, Nats
23

3-
__all__ = [
4-
"CallbackSubscription",
5-
"IteratorSubscription",
6-
"Message",
7-
"Nats",
8-
]
4+
__all__ = ["CallbackSubscription", "IteratorSubscription", "Message", "Nats", "js"]

0 commit comments

Comments
 (0)