Skip to content

Commit 8064d3f

Browse files
committed
Made module directly callable again
1 parent 062696e commit 8064d3f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
import sys
2+
13
from .api import find_project_root
4+
from . import cli
25

3-
__all__ = ['find_project_root']
6+
sys.modules[__name__].cli = cli # type: ignore
7+
sys.modules[__name__] = find_project_root # type: ignore

0 commit comments

Comments
 (0)