basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

When error and `ignore_any_from_error`, report an error about needing a type

Open KotlinIsland opened this issue 3 years ago • 0 comments

a = AMONGUS  # type: ignore[name-defined] 
b = a + 1

I think a should have an error stating that it needs an explicit type. Although I wonder what scenarios that would appear in.

#272 #281

KotlinIsland avatar Apr 25 '22 15:04 KotlinIsland