Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add docstrings and make pep8 changes #35

Merged
merged 5 commits into from
Apr 3, 2013
Merged

Conversation

jminardi
Copy link
Contributor

@jminardi jminardi commented Apr 3, 2013

This PR brings pep8 fixes and docstrings. I have also removed the definition of TextureGroup from the main module and instead imported it from pyglet.

I love this project and I think it has a great potential to inspire kids who want to get into programming. To that end I think documentation and pep8 styling will make this easier.

If I get more time in the future I may go through and add more comments explaining the actual implementation. (I need to learn pyglet first ;))

@fogleman fogleman merged commit 0fd908f into fogleman:master Apr 3, 2013
MatthieuBizien added a commit to MatthieuBizien/Minecraft that referenced this pull request Dec 18, 2020
Like fogleman#35, I believe that project is a great educational tool, an impressive achievement, and a reference for clean Python code.

Warnings F403 and F405 are currently ignored. That could be removed when fogleman#124 is merged.

Warnings E128,E201,E226,E231 could be removed if autopep8 or similar is used. I advise to merge fogleman#124 before, to limit the risk of merge conflict.

I fixed 3 small pep8 issues in main.py too.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants