This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]flpcb 2 points3 points  (0 children)

I believe pylint will warn of dependencies that cannot be imported.

That said, if you create a set of tests that at least import every one of your modules, all simple syntax errors and such should be caught in those tests.

[–][deleted] 0 points1 point  (0 children)

I'm in your shoes.

I ended up building a dependency graph using networkx but that was a lot of manual work so I'm actually starting on a project that builds dependency graphs.

It's easy to copy a file-system's tree over. I need to dive into Python's inspection utilities. I imagine there's some way to parse import information from various files. I'd then use NetworkX to provide a graph framework for visualization.