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 3.10: match-case syntax not yet supported by radon? #226

Closed
PedanticHacker opened this issue Oct 5, 2021 · 1 comment
Closed

Comments

@PedanticHacker
Copy link

PedanticHacker commented Oct 5, 2021

I have analyzed cyclomatic complexity of a function that has this new Python 3.10 match-case syntax. The result of that function was A (1). That's not correct. The function had a lot of case statements in it.

Is there any undergoing work yet to have radon analyze and correctly report cyclomatic complexity where there's match-case syntax in Python 3.10 code?

@PedanticHacker PedanticHacker changed the title Python 3.10: match-case syntax Python 3.10: match-case syntax not yet analyzed by radon? Oct 8, 2021
@PedanticHacker PedanticHacker changed the title Python 3.10: match-case syntax not yet analyzed by radon? Python 3.10: match-case syntax not yet supported by radon? Oct 8, 2021
@DolajoCZ
Copy link
Contributor

DolajoCZ commented Oct 8, 2021

Here is PR for this issue.

@rubik rubik closed this as completed Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants