Commit e0b5a70
committed
fix: resolve Python dotted imports in dependency analyzer
Bug: imports like 'starlette.exceptions' were treated as external
because early return checked for '/' but not '.' in import path
Fix: only treat single-word imports (os, json) as external
Allow dotted imports to reach resolution logic that converts
'starlette.exceptions' → 'starlette/exceptions.py'1 parent 0298ea4 commit e0b5a70
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| |||
0 commit comments