Commit 845574f
committed
Enhance ImportAnalyzer to support src/ root file imports
This commit updates the ImportAnalyzer class to include checks for files located at the src/ root directory, such as _globals.py, when building subfolders. It ensures that these files are correctly identified and included in the import analysis, improving the handling of imports from subfolders. Additionally, new tests are added to verify the functionality of importing files from the src/ root, ensuring robustness in the build process for subfolder packages.1 parent c7999d7 commit 845574f
7 files changed
Lines changed: 2700 additions & 4415 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
313 | 322 | | |
314 | 323 | | |
315 | 324 | | |
| |||
335 | 344 | | |
336 | 345 | | |
337 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
338 | 354 | | |
339 | 355 | | |
340 | 356 | | |
| |||
0 commit comments