This repository was archived by the owner on Aug 28, 2020. It is now read-only.
Fix "method_complexity" issue in config.py - Fixes #105#115
Open
jlax47 wants to merge 2 commits intosendgrid:masterfrom
jlax47:issue_105
Open
Fix "method_complexity" issue in config.py - Fixes #105#115jlax47 wants to merge 2 commits intosendgrid:masterfrom jlax47:issue_105
jlax47 wants to merge 2 commits intosendgrid:masterfrom
jlax47:issue_105
Conversation
Contributor
|
We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt. Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!) You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes
Checklist
Short description of what this PR does:
Refactor config.py init_environment() to include a second static method for setting the variables to get around the Cognitive Complexity of 6 (exceeds 5 allowed).
If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.