Open red8888 opened 1 year ago
I use these extensions:
They work for regular public functions, but anything annotated with @task doesn't pull in the type hint and default value from the function definition.
@task
Is it possible to configure the invoke ext to work with this somehow?
I should add I'm using this guys code snippet to patch in support for type hints in the first place: https://github.com/pyinvoke/invoke/issues/357#issuecomment-583851322
@red8888 I had a similar issue and created https://github.com/SAP/invoke-plugin-for-sphinx for this. Disclaimer: I'm the author of it
I use these extensions:
They work for regular public functions, but anything annotated with
@task
doesn't pull in the type hint and default value from the function definition.Is it possible to configure the invoke ext to work with this somehow?
I should add I'm using this guys code snippet to patch in support for type hints in the first place: https://github.com/pyinvoke/invoke/issues/357#issuecomment-583851322