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
Thanks for the issue! It's not a matter of pylint not supporting Tuple[T, ...], in fact we don't :) We don't support type annotations in the same sense that mypy does. The error you're seeing is most likely a bug in our formatting checks, which are more akin to pycodestyle & flake8 checks rather than mypy. Nevertheless, this is a bug!
Steps to reproduce
pylint test.py
.Current behavior
Expected behavior
There shouldn't be violation.
http://mypy.readthedocs.io/en/latest/kinds_of_types.html#tuple-types recommends against variable length tuples:
However,
Tuple[T, ...]
is supported, so pylint should support it, too.pylint --version output
Latest from master:
The text was updated successfully, but these errors were encountered: