proud-appointment-36730
05/26/2022, 5:46 PMhundreds-father-404
05/26/2022, 5:47 PMproud-appointment-36730
05/26/2022, 5:51 PMcode/
A/
a.py
B/
b.py
And in b.py
I have
from code.A.a import a_function
How do I see that b.py
depends on a.py
using the dependencies
goal?hundreds-father-404
05/26/2022, 5:52 PM./pants dependencies path/to/b.py
or ./pants dependencies --transitive path/to/b.py
.
If you're not seeing what you'd expect, then dependency inference isn't working for some reason: https://www.pantsbuild.org/docs/troubleshooting#import-errors-and-missing-dependenciesproud-appointment-36730
05/26/2022, 5:54 PMhundreds-father-404
05/26/2022, 5:55 PMproud-appointment-36730
05/26/2022, 6:00 PMhundreds-father-404
05/26/2022, 6:03 PM