econchick / econchick/interrogate
Python Match|Case no support?
- Dominant language
- Python
- Stars
- 676
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
### Environment
- `interrogate` version(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"
```
Contributor guide
Assessment
This issue has not been assessed yet.