unused-import false positive for names in string argument to typing.cast #7548
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
example.py:
Configuration
No response
Command used
Pylint output
************* Module example example.py:2:0: W0611: Unused Path imported from pathlib (unused-import) ------------------------------------------------------------------ Your code has been rated at 6.67/10 (previous run: 6.67/10, +0.00)
Expected behavior
There shouldn't be any messages.
Pylint version
OS / Environment
fedora 36
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: