Request: List or exclude packages in try/except blocks (soft dependencies)
Open
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
Packages imported in try/except blocks are often not really needed. Would be nice to be able to generate a list of such packages.
Contributor guide
Research direction
Start at pipreqs' import-scanning path and trace how imports inside try/except blocks are currently collected. Clarify whether the request is for a report, an exclusion option, or both, then add focused coverage for the chosen behavior and verify the generated requirements output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100