-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: tooltips for class docstrings, whitespace issues #463
Conversation
Thanks for your contribution! |
d3e4ce9
to
398dcd8
Compare
Thanks for your contribution! |
That link in the bot message is broken (... and I dunno why it doesn't like the formatting of my commit message). Edit: ah, line length, got it. |
yeah, I think I'll turn of the commenting - its rather annoying and the check output is probably enough as feedback |
398dcd8
to
8731b3b
Compare
Hm, hold on, still need to check something... |
... Well, that docstring check is rather useless, oups. |
- fixes occasional linebreaks between regular text and <abbr> HTML tags for tooltips with class meta information - checks for existence of actual docstrings for classes to display on frontend over defaulting to class definitions "Class(a, b)"
8731b3b
to
6471227
Compare
The original PR description is outdated after a refactor and force push and/but this is still set to draft because:
|
|
Thank you! @birger I wanted to tag you anyway because while I don't consider this finished yet/was expecting to work on this more, as per my previous comment, please let me know if you have any notes/feedback (if not a proper review yet). Just had to get that earlier update out of the way. |
I would put the logic of "calculating" the docstring into the class - either the
That way we don't have to add it to the context, because a
I think the whole vodoo with the (updated after hitting submit too early...) |
The issue this PR tries to fix was fixed by using the |
References:
https://peps.python.org/pep-0257/