I'm not affiliated with deptry in any way, but have found this tool really helpful in a corporate environment to protect against unnecessary dependencies https://github.com/fpgmaas/deptry. The checks are available here https://deptry.com/rules-violations/, currently
| Code |
Description |
More information |
| DEP001 |
Project should not contain missing dependencies |
link |
| DEP002 |
Project should not contain unused dependencies |
link |
| DEP003 |
Project should not use transitive dependencies |
link |
| DEP004 |
Project should not use development dependencies in non-development code |
link |
| DEP005 |
Project should not contain dependencies that are in the standard library |
link |
Would you consider recommending that and adding checks based on it?