You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: error while formatting signature: Handler <function process_signature at 0x00000280E14DCC10> for event 'autodoc-process-signature' threw an exception #159
i'm currently trying to use sphinx-autodoc-typehints to create a nice documentation for my project pyage (https://github.com/Timtam/pyage).
I do have an issue however. When i'm annotating a method like this:
def quit(self) -> None:
"""
This method will tell the game loop to quit as soon as possible, releasing all resources in the process.
Parameters
----------
Returns
-------
:obj:`None`
"""
sphinx-autodoc-typehints will fail with an indescriptive error when processing the signature of that method:
WARNING: error while formatting signature for pyage.app.App.quit: Handler <function process_signature at 0x00000280E14DCC10> for event 'autodoc-process-signature' threw an exception (exception: 'quit')
I've configured my sphinx-autodoc-typehints as follows: