-
-
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: pyreverse doesn't link sub-classes to an abstract class #2479
Comments
is there any news? |
@ovegug No news, no one got to work on this issue (and not a lot of work was done on pylint recently as well) |
If I get some time, I can start working on it. Will post updates on the thread. :D |
I noticed when you are building from inside the package ( I am having a similar problem with another package, |
- Keep only required code inside the context manager block Closes pylint-dev#2479
- Use the fix_import_path context manager in the existing pyreverse tests Closes pylint-dev#2479
- Style refactor: - Use a constant for the path - Move the constants closer to the top of the module Closes pylint-dev#2479
- Add a test for the fix_import_path context manager to ensure the project root directory is in sys.path Closes pylint-dev#2479
- Rm class - sys.path -> list(sys.path) Closes pylint-dev#2479
- Prevent re-defining from outer scope Closes pylint-dev#2479
- Add Changelog entry Closes pylint-dev#2479
- Add a type-hint & docstrings Closes pylint-dev#2479
- Simplify test Closes pylint-dev#2479
* pyreverse - Add project modules to sys.path - Use the fix_import_path context manager in the existing pyreverse tests - Style refactor: - Use a constant for the path - Move the constants closer to the top of the module - Add a test for the fix_import_path context manager to ensure the project root directory is in sys.path - Prevent re-defining from outer scope - Add a type-hint & docstrings Closes #2479
Steps to reproduce
git clone [email protected]:pixelogik/NearPy.git
cd nearpy/storage
pyreverse -o .png .
Current behavior
You will see a UML diagram like this.This has three classes
RedisStorage
,MemoryStorage
and an abstract classStorage
. See the diagram here.https://drive.google.com/file/d/1MQ8igLIhNIfVUM0VyXfrcFYdOwDs6V0f/view?usp=sharing
Expected behavior
classes
RedisStorage
andMemoryStorage
should inherit from abstract classStorage
Pylint version
pylint (1.1.0)
The text was updated successfully, but these errors were encountered: