Conversation
cf17714 to
a7f25e3
Compare
| # Some useful event listener factories for autodoc-process-docstring. | ||
|
|
||
| def cut_lines(pre: int, post: int = 0, what: str | None = None) -> Callable: | ||
| def cut_lines(pre: int, post: int = 0, what: str | list[str] | None = None) -> Callable: |
There was a problem hiding this comment.
You should also update the signature of between below since they are hooks for the same event (but you can also do it in a follow-up PR since it's not directly tight to docs/conf.py itself).
a7f25e3 to
3a24dcb
Compare
|
Good for me! you can do the follow-up PR on |
|
@picnixz I think the merge may have been slightly premature here -- the force push removed several changes, such as ensuring imports were in type checking block. More minor, but also can we ensure that commit messages start with an imperative (eg Check doc/conf.py with mypy or etc). A |
Ah, actually, you marked the conversation as being resolved, so I assumed you wanted to keep it out (is it what you were thinking about)? We can revert the commit if needed though and amend the PR.
Ah yes, this is something I wondered. I used for a long time |
No description provided.