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

reduce max-complexity #147

Open
nhsavage opened this issue Sep 23, 2020 · 0 comments
Open

reduce max-complexity #147

nhsavage opened this issue Sep 23, 2020 · 0 comments

Comments

@nhsavage
Copy link
Collaborator

We want to reduce the max-complexity over time - currently set in .flake8 as:

max-complexity = 22

which is far higher than the default. This will require several functions to be refactored to reduce branching. See https://en.wikipedia.org/wiki/Cyclomatic_complexity for how this is calculated.

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

1 participant