No single tool. Closest: chokkin (early, Knip-style). Otherwise Vulture or Skylos for unused code, deptry or FawltyDeps for dependencies. Tested 10 Oct 2026.