Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve code quality#250

Merged
SendGridDX merged 5 commits into
sendgrid:mastersendgrid/sendgrid-python:masterfrom
andriisoldatenko:fix-pep8-errorsandriisoldatenko/sendgrid-python:fix-pep8-errorsCopy head branch name to clipboard
Mar 29, 2017
Merged

Improve code quality#250
SendGridDX merged 5 commits into
sendgrid:mastersendgrid/sendgrid-python:masterfrom
andriisoldatenko:fix-pep8-errorsandriisoldatenko/sendgrid-python:fix-pep8-errorsCopy head branch name to clipboard

Conversation

@andriisoldatenko

Copy link
Copy Markdown
Contributor

Summary

According to CONTRIBUTING code should pass all pep8 and flake8 errors

On master branch we can see

(python-sedgrid) ~/sendgrid-python$ flake8 . | wc -l
1201
OR
pep8 . | wc -l
1033

The goal of this PR to fix all errors.

After this PR merged:

flake8 test/ | wc -l 
test/test_mail.py:212:80: E501 line too long (3359 > 79 characters)

Checks on sendgrid/ module:

flake8 sendgrid/ wc -l

Unit tests:

----------------------------------------------------------------------
Ran 238 tests in 32.903s

OK

Install checking tools:

pip install flake8 pep8 isort

@andriisoldatenko

Copy link
Copy Markdown
Contributor Author

@thinkingserious Please review.
cc @vananabu

@thinkingserious

Copy link
Copy Markdown
Contributor

Awesome @andriisoldatenko!

Could you please sign our CLA so I can review and merge? Thanks!

@thinkingserious thinkingserious added status: cla needed status: work in progress Twilio or the community is in the process of implementing type: community enhancement feature request not on Twilio's roadmap labels Nov 10, 2016
@andriisoldatenko

Copy link
Copy Markdown
Contributor Author

@thinkingserious done.

@thinkingserious

Copy link
Copy Markdown
Contributor

Hi @andriisoldatenko,

Could you please fix the conflicts in test/test_sendgrid.py? Thanks!

@andriisoldatenko

Copy link
Copy Markdown
Contributor Author

@thinkingserious done.

@andriisoldatenko

Copy link
Copy Markdown
Contributor Author

@thinkingserious Can you please review again. Thanks

@SendGridDX SendGridDX merged commit beed6e4 into sendgrid:master Mar 29, 2017
@SendGridDX

Copy link
Copy Markdown

Hi @andriisoldatenko,

Thanks again for the PR, please take a moment to fill out this form so that we may send you some swag :)

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

Labels

status: work in progress Twilio or the community is in the process of implementing type: community enhancement feature request not on Twilio's roadmap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.