interrogate
interrogate copied to clipboard
Python Match|Case no support?
Environment
interrogateversion(s) (interrogate --version: 1.5.0- Operating System(s): Linux
- Python version(s): 3.10
Description of the bug
Interrogate fails with new match syntax

What you expected to happen
Pass
How to reproduce (as minimally and precisely as possible)
Get the coverage of your code when match is used in it.
Anthing else we need to know?
One posible solution
# https://github.com/Instagram/LibCST/issues/285#issuecomment-1011427731
if sys.version_info.major >= 3 and sys.version_info.minor >= 10:
os.environ["LIBCST_PARSER_TYPE"] = "native"