EC4 - False positives with TypeVar #23
Labels
🗃️ rule
rule improvment or rule development or bug
🚀 enhancement
New feature or request
👀 👀 waiting commiter 👀 👀
Describe the bug
When using python's TypeVar mechanism for type annotations, EC4 code smell is triggered.
This should not be considered a code smell since using it in global scope is the standard way.
To Reproduce
Example straight from the python official documentation
Expected behavior
Do not flag this as an error
The text was updated successfully, but these errors were encountered: