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
As long as .hvplot is not understood by mypy, ruff etc there will be a lot of friction.
For example ruff configuration in my org requires a return type on functions. Thus I need to add -> hvPlotTabular to all methods returning something generated by hvplot and then mypy complains because return type of .hvplot is not understood because hvplot method is not understood.
When using
.hvplot
on a dataframe or series,mypy
will report aoperator
missing problem. See https://mypy.readthedocs.io/en/stable/error_code_list.html#code-operator.You can solve this by adding
# type: ignore[operator]
. This is quite cumbersome to add many places in your docs.It would be very nice if this was discussed and best practices documented in the documentation.
The text was updated successfully, but these errors were encountered: