Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Match|Case no support? #121

Open
TheRealVizard opened this issue Jul 11, 2022 · 0 comments
Open

Python Match|Case no support? #121

TheRealVizard opened this issue Jul 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working needs triage Issue needs triaging

Comments

@TheRealVizard
Copy link

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
image

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"
@TheRealVizard TheRealVizard added bug Something isn't working needs triage Issue needs triaging labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Issue needs triaging
Projects
None yet
Development

No branches or pull requests

2 participants