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
file.py:1:20: F401 [*] typing.Callable imported but unused
file.py:1:30: F401 [*] typing.Tuple imported but unused
file.py:1:37: F401 [*] typing.List imported but unused
Found 3 errors.
[*] 3 potentially fixable with the --fix option.
But if i remove the imports and run mypy file.py (1.5.1) i get the following error:
file.py:1: error: Name "List" is not defined [name-defined]
file.py:1: note: Did you forget to import it from "typing"? (Suggestion: "from typing import List")
Found 1 error in 1 file (checked 1 source file)
The text was updated successfully, but these errors were encountered:
ruff --isolated file.py
(0.0.285) givesBut if i remove the imports and run
mypy file.py
(1.5.1) i get the following error:The text was updated successfully, but these errors were encountered: