Skip to content

Commit 5cfa546

Browse files
committed
Support py_modules with dots in them
Fixes #22
1 parent 968e2de commit 5cfa546

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dowsing/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def _source_mapping(self, root: Path) -> Optional[Dict[str, str]]:
106106
for m in self.py_modules:
107107
if m == "?":
108108
return None
109+
m = m.replace(".", "/")
109110
d[f"{m}.py"] = f"{m}.py"
110111

111112
try:

0 commit comments

Comments
 (0)