Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

PEP8 Standards Fixes#97

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Dmchale92 wants to merge4 commits intodropbox:master
base:master
Choose a base branch
Loading
fromDmchale92:master
Open

Conversation

Dmchale92
Copy link

--------- BEGIN META VARIABLES --------
Project : dropbox-sdk-python
Task : PEP8 Standards Fixes
Done : 3-16-17
--------- END META VARIABLES --------

--------- BEGIN META VARIABLES --------Project : dropbox-sdk-pythonTask : PEP8 Standards FixesDone : 3-16-17--------- END META VARIABLES --------
Copy link
Contributor

@positaposita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the contribution!

Please consider updating theflake8 section oftox.ini and theMESSAGES CONTROL section of.pylintrc to reflect the changes. This will likely mean turning back on certain linter options, but some experimentation may be necessary.

print("Finding available revisions on Dropbox...")
entries = dbx.files_list_revisions(BACKUPPATH, limit=30).entries # pylint: disable=no-member
entries = dbx.files_list_revisions(
BACKUPPATH, limit=30).entries # pylint: disable=no-member
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Breaking up this line confuses the linter. Consider instead:

revisions=dbx.files_list_revisions(BACKUPPATH,limit=30)entries=revisions.entries# pylint: disable=no-member

--------- BEGIN META VARIABLES --------Project : dropbox-sdk-pythonTask : Cleaning up backup-and-restore-example.pyDone : 3-16-17--------- END META VARIABLES --------
--------- BEGIN META VARIABLES --------Project : dropbox-sdk-pythonTask : Addressing linter error on travis CI build for prior commit tobackup-and-restore-example.pyDone : 3-16-17--------- END META VARIABLES --------
Project : dropbox-sdk-pythonTask : Updating tox.ini to ignore E1101 (no-member)Done : 3-16-17--------- END META VARIABLES --------
@Dmchale92
Copy link
Author

Dmchale92 commentedMar 16, 2017
edited
Loading

Hey Matt, my pleasure. Broke up the revision retrieval code, and fixed a subsequent E261 error. Also added E1101 to tox.ini, it looks like MESSAGES CONTROL for .pylintrc already has locally-disabled disabled.

Copy link
Contributor

@positaposita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@Dmchale92, it looks good. If you can squash commits, I'll merge. Thanks!

@posita
Copy link
Contributor

As an aside,ez_setup.py comes from elsewhere (formerly fromPEAK, now fromPyPA). We might consider removing it altogether in the future and leave bootstrappingsetuptools up to the installer. I think most modern versions of Python already include it anyway.

@positapositaforce-pushed themaster branch 2 times, most recently fromf2cf463 toafadb2dCompareMay 11, 2017 18:21
@rogebrd
Copy link
Contributor

Hello, If you are still interested in updating this piece of code, please acknowledge this message and make the necessary updates.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign ourContributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let usrecheck it.

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

@positapositaposita requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@Dmchale92@posita@rogebrd@CLAassistant

[8]ページ先頭

©2009-2025 Movatter.jp