Open liiight opened 3 years ago
This is sort of a duplicate of #554. That Query
annotation, as was already explained on Flake8's issue tracker, isn't valid PEP 484
we should still support this decorator I think, it's similar to the support for Annotation and there's already a context for disabling type annotation considering in pyflakes
pyflakes does not seem to take into consideration the
typing.no_type_check
decorator and throwsF821 undefined name
error, Example (from Uplink's documentation, a great library with a custom use case for type annotation):Results of running pyflakes:
This raises no error when running using mypy for example.