-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Pyreverse: working without without __init__.py files #2763
Comments
Sounds like a good suggestion, thanks for reporting it! |
We give a lot of hope to Pyreverse. Hope I can contribute back. I don't know why in such tremendous amount of library in Python ecosystem, where choosing between them is so confusing. We have one and the only UML generating library that works. Other lib last release is years years ago. |
Thanks for the kind words @azzamsa If you want to open a PR, I'd be happy to review or offer suggestions. |
Is anyone still looking into this? Haven't spend much time on it yet but explicit namespacing seems to be enforced in the function defined here More specifically in line: Do you agree? I might be interested to pick up this issue |
Also switch to ExecuteCommand fixes pybuilder#818
Also switch to ExecuteCommand fixes pybuilder#818
Hello, is this still open ? Since it was referenced in commits ? But it doesn't seem to work 😕 |
The commit are from the pybuilder repository not pylint, no one worked on it yet :) |
Yah line 343 seems to be making the hard association to package folders being defined by the presence of I wonder how things would work if that condition is simply removed. How's the testing on this project, I'm curious to tinker around with things with a simple deletion and running of unit tests and see how things go. |
Should this issue have the To help others with @azzamsa current dirty solution they can run |
You can check the contributor guide, please let us know if it's not clear. We did not invest a lot of time in it right now as we focussed on the user documentation for 2.14. |
You can find the existing tests under Tests are run with Let me know if you need help! |
Could someone confirm if #7153 fixes this issue for them? |
This ability already requested in #842, But I think it's only for Pylint, not Pyreverse.
With PEP 420 -- Implicit Namespace Packages I can work seamlessly without ever needed the
__init__.py
files. But when it comes to generating class diagram with Pyreverse, I have to add them unless it didn't workMy current dirty-solution is to add
__init__.py
to all my project folder temporarily, then stash them back and forth. Indeed it's not convenience experience.Hope Pyreverse will work without
__init__.py
Step to reproduce
With this directory structure
and
$ pyreverse -my -A -o png -p myprojectname .
Thank you for Pyreverse.
The text was updated successfully, but these errors were encountered: