6 ms·
This is not an issue when using `deptry`; it does not only match the import name against the dependency name; it first tries to find the modules that are provid
by flo12392 3y ago
This is not an issue when using `deptry`; it does not only match the import name against the dependency name; it first tries to find the modules that are provided by the dependency `beautifulsoup4`. If you run `deptry -v .`, you can see this in the verbose logs:
`
Dependency 'beautifulsoup4' with top-levels: {'bs4'}.`
If you ever run into a situation where this does not work, you can use the `pacakge_module_name_map` parameter: https://fpgmaas.github.io/deptry/usage/#package-module-name-map https://fpgmaas.github.io/deptry/usage/#package-module-name-...
Hope this helps!
Florian