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

Follow PEP 8 - Style Guide for Python Code #47

Merged
merged 1 commit into from
Dec 13, 2017
Merged

Follow PEP 8 - Style Guide for Python Code #47

merged 1 commit into from
Dec 13, 2017

Conversation

biergaizi
Copy link
Contributor

PEP 8 is a style guide which is widely agreed and used in the Python
community. Follow it could encourage more Python developers to join
the development.

This commit changes the code to follow all rules of PEP 8, except
E501 - the 80 chars limitation of the each lines. For modern programs,
120 chars is more comfortable.

There are 181 violations of PEP 8 in the project:

$ flake8 setup.py weibo.py snspy.py | grep -v E501 | wc -l
181

All of the violations have been fixed:

$ flake8 setup.py weibo.py snspy.py | grep -v E501 | wc -l
0

Signed-off-by: Tom Li biergaizi@members.fsf.org

PEP 8 is a style guide which is widely agreed and used in the Python
community. Follow it could encourage more Python developers to join
the development.

This commit changes the code to follow all rules of PEP 8, except
E501 - the 80 chars limitation of the each lines. For modern programs,
120 chars is more comfortable.

There are 181 violations of PEP 8 in the project:

$ flake8 setup.py weibo.py snspy.py | grep -v E501 | wc -l
181

All of the violations have been fixed:

$ flake8 setup.py weibo.py snspy.py | grep -v E501 | wc -l
0

Signed-off-by: Tom Li <biergaizi@members.fsf.org>
@michaelliao michaelliao merged commit 0f19dd7 into michaelliao:master Dec 13, 2017
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

Successfully merging this pull request may close these issues.

2 participants