I would like to know if there is any automatic way to discover the list of dependencies that I need to add to the install_requires
section of a setup.py
file for a Python library, without inspecting the code "manually".
It would be good if this tool is compatible with pre-commit as well, so that I get notified if dependencies change in a later commit.