Open szabi opened 1 month ago
I've tried on my side on Windows with the structure you shared and was not able to reproduce, as files are correctly found.
Could you maybe add --verbose
flag when running deptry
and share the output (make sure to redact data you think is sensitive), or create a minimal git repository that reproduces the issue? That would help trying to reproduce the issue.
Describe the bug
deptry
does not seem to recurse into subdirectories, incontrast to the documentation's "Dependency issues are detected by scanning for imported modules within all Python files in a directory and its subdirectories,"To Reproduce
On Windows 10, I installed deptry into the virtual environment used by the project by
and run it on our project, which has the following structure
From
$ROOT
deptry .
does not scan any files.deptry src
does not scan any filesdeptry src\<packagename>
scansmain.py
, but does not scan those in the subdirs=>
deptry
does not seem to recurse into subdirectories, at least on Windows.Expected behavior
Scan all files, as described in the documentation
System [please complete the following information]: