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

Fix "method_complexity" issue in kyu_4/sum_of_intervals/sum_of_intervals.py #113

Open
ikostan opened this issue Apr 15, 2020 · 0 comments
Open

Comments

@ikostan
Copy link
Member

ikostan commented Apr 15, 2020

Function clean_interval has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.

https://codeclimate.com/github/ikostan/codewars/kyu_4/sum_of_intervals/sum_of_intervals.py#issue_5e96c3368a97c800010001c3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant