-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
bug: [regression 0.46] Does not find inherited methods #295
Comments
Thanks for the report @llucax, and sorry for the trouble. Looking into it right now. |
Turns out it's the same issue as #295, so closing in favor of the oldest 🙂 See an explanation of the issue there. |
All good, we are using an unstable tool and we are not pinning the transitive dependencies, so we know what we are getting into 🙃
You linked to this very same issue 😬 😆 |
Erm, #294 😂 |
Description of the bug
I have a project linking to
Sub.__init__
, whereSub.__init__
is not actually defined but inherited fromParent.__init__
. This worked fine until we upgraded togriffe
0.46.To Reproduce
(Sorry it is a very big project, my intuition is it should be easy to reproduce with a small code snippet just with a parent and sub-class, but if this is enough info to pin-point the bug I prefer not to spend the time to provide the proper MRE).
Full traceback
No traceback, just error message (warnings, but I use
--strict
) and a deprecation:Full log with
-v
attached.Expected behavior
It picks up the
__init__
from the parent class as before.Environment information
PASTE OUTPUT HERE
Additional context
Using griffe 0.45.3 works:
The text was updated successfully, but these errors were encountered: