Skip to content

Commit 959bacf

Browse files
committed
Add TODO in import_tools.py:discover
1 parent 268e656 commit 959bacf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

domdf_python_tools/import_tools.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def discover(
9696
.. versionchanged:: 1.0.0
9797
9898
Added the ``exclude_side_effects`` parameter.
99+
100+
.. TODO:: raise better exception when passing a module rather than a package.
101+
Or just return the contents of the module?
99102
""" # noqa D400
100103

101104
matching_objects = []

0 commit comments

Comments
 (0)