-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show only top-level imports #216
Comments
Hi @ThibaudDauce and thank you for your interest in pydeps. Pydeps uses (a patched version of) the standard library If you want to look into the possibility of making this (i.e. making the modulefinder code context aware) work, the code that needs to change is in |
Hi,
Thanks for the awesome tool. I'm doing some research on a big Python project and I try to improve the number of top-level imports/imported_by. I don't care about imports inside function definition since they do not raise problems for import cycles… Is there a way to only report the top-level imports and exclude imports inside function definition?
Thanks!
The text was updated successfully, but these errors were encountered: