Skip to content

Commit b8c2dde

Browse files
refactor: update __all__ with hello in __init__.py
1 parent 775b562 commit b8c2dde

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
"""Python CLI Template"""
22

3+
from .template import hello
4+
5+
__all__ = ["hello"]
6+
37
__version__ = "0.0.0"

tests/python_cli_template/test_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from python_cli_template.template import hello
1+
from python_cli_template import hello
22

33

44
def test_hello():

0 commit comments

Comments
 (0)