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
For union return types that start with tuple[ (e.g. my use case tuple[Figure, Axis] | None) InternalError is raised false positively.
This is because _isTuple returns True for union types
For union return types that start with
tuple[
(e.g. my use casetuple[Figure, Axis] | None
)InternalError
is raised false positively.This is because
_isTuple
returnsTrue
for union typespydoclint/pydoclint/utils/return_anno.py
Lines 59 to 63 in 062bb45
And consecutive checks are meant to work with pure tuples.
The text was updated successfully, but these errors were encountered: