Skip to content

Refactor for PEP 8 / PEP 257 compliance and code improvement#47

Open
Matthew-5310 wants to merge 9 commits intovhanla:masterfrom
Matthew-5310:pep8-refactor
Open

Refactor for PEP 8 / PEP 257 compliance and code improvement#47
Matthew-5310 wants to merge 9 commits intovhanla:masterfrom
Matthew-5310:pep8-refactor

Conversation

@Matthew-5310
Copy link

  • Add docstrings
  • Spacing and indentation fixes
  • Naming convention fixes
  • Remove redundant/unused objects

Split module description from author credits to avoid polluting metadata
Separate to own lines; standard imports followed by third party
Surround top-level function and class definitions with two blank lines, trim trailing whitespace at end of lines, add trailing newline at end of file
Wrap at 72 chars; add PEP257 style docstrings, remove redundant comments and unused print statements; capitalization and spacing fixes
Use Pythonic naming conventions; fix improper comparison; fix spacing around operators; remove unused variable
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.

1 participant