fpgmaas / deptry

Find unused, missing and transitive dependencies in a Python project.
https://deptry.com/
MIT License
923 stars 20 forks source link

fix(dependency_getter): handle strings for `setuptools` dynamic dependencies #945

Closed mkniewallner closed 2 weeks ago

mkniewallner commented 2 weeks ago

Closes #944.

PR Checklist

Description of changes

It might not be obvious from setuptools documentation, but file attribute can either be a string or a list of strings.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.0%. Comparing base (40765df) to head (4cab592). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #945 +/- ## ===================================== Coverage 93.0% 93.0% ===================================== Files 37 37 Lines 991 994 +3 Branches 97 98 +1 ===================================== + Hits 922 925 +3 Misses 55 55 Partials 14 14 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.