Please consider:
a = 1
match a: # type: ignore
case 0:
print('is zero')
case 1:
print('is one')
then
$ mypy t5.py
t5.py:2: error: Match statement is not supported
Found 1 error in 1 file (errors prevented further checking)
I would expect Mypy to ignore the whole match block.
Or is there an option I am missing, which I can pass to Mypy?
Mypy 0.930, Python 3.10.1.