Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

Fix "method_complexity" issue in package_managers.py #107

Open
thinkingserious opened this issue Oct 30, 2017 · 0 comments · May be fixed by #161
Open

Fix "method_complexity" issue in package_managers.py #107

thinkingserious opened this issue Oct 30, 2017 · 0 comments · May be fixed by #161

Comments

@thinkingserious
Copy link
Contributor

thinkingserious commented Oct 30, 2017

Function update_package_manager_data has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.

There must be a way to simplify this down a bit.

https://codeclimate.com/github/sendgrid/open-source-library-data-collector/package_managers.py#issue_59f69b9f7d682f0001000027

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

Successfully merging a pull request may close this issue.

1 participant