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

Applied several PEP8 Styleguidelines. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmoeckel
Copy link

In detail:
# 'E101', # - Reindent all lines.
# 'E11 ', # - Fix indentation. (not include E112 and E113)
# 'E121', # - Fix indentation to be a multiple of four.
# 'E122', # - Add absent indentation for hanging indentation.
# 'E123', # - Align closing bracket to match opening bracket.
# 'E124', # - Align closing bracket to match visual indentation.
# 'E125', # - Indent to distinguish line from next logical line.
# 'E126', # - Fix over-indented hanging indentation.
# 'E127', # - Fix visual indentation.
# 'E128', # - Fix visual indentation.
# 'E20 ', # - Remove extraneous whitespace.
# 'E211', # - Remove extraneous whitespace.
# 'E22 ', # - Fix extraneous whitespace around keywords.
# 'E224', # - Remove extraneous whitespace around operator.
# 'E226', # - Fix missing whitespace around arithmetic operator.
# 'E227', # - Fix missing whitespace around bitwise/shift operator.
# 'E228', # - Fix missing whitespace around modulo operator.
# 'E231', # - Add missing whitespace.
# 'E241', # - Fix extraneous whitespace around keywords.
# 'E242', # - Remove extraneous whitespace around operator.
# 'E251', # - Remove whitespace around parameter '=' sign.
# 'E26 ', # - Fix spacing after comment hash for inline comments.
# 'E265', # - Fix spacing after comment hash for block comments.
# 'E27 ', # - Fix extraneous whitespace around keywords.
# 'E301', # - Add missing blank line.
# 'E302', # - Add missing 2 blank lines.
# 'E303', # - Remove extra blank lines.
# 'E304', # - Remove blank line following function decorator.
# 'E306', # - Expected 1 blank line before a nested definition
# 'E401', # - Put imports on separate lines.
# 'E502', # - Remove extraneous escape of newline.
# 'E70 ', # - Put semicolon-separated compound statement on separate lines.
# 'W291', # - Remove trailing whitespace.
# 'W292', # - Add a single newline at the end of the file.
# 'W293', # - Remove trailing whitespace on blank line.
# 'W391', # - Remove trailing blank lines.

In detail:
    #    'E101',  # - Reindent all lines.
    #    'E11 ',  # - Fix indentation. (not include E112 and E113)
    #    'E121',  # - Fix indentation to be a multiple of four.
    #    'E122',  # - Add absent indentation for hanging indentation.
    #    'E123',  # - Align closing bracket to match opening bracket.
    #    'E124',  # - Align closing bracket to match visual indentation.
    #    'E125',  # - Indent to distinguish line from next logical line.
    #    'E126',  # - Fix over-indented hanging indentation.
    #    'E127',  # - Fix visual indentation.
    #    'E128',  # - Fix visual indentation.
    #    'E20 ',  # - Remove extraneous whitespace.
    #    'E211',  # - Remove extraneous whitespace.
    #    'E22 ',  # - Fix extraneous whitespace around keywords.
    #    'E224',  # - Remove extraneous whitespace around operator.
    #    'E226',  # - Fix missing whitespace around arithmetic operator.
    #    'E227',  # - Fix missing whitespace around bitwise/shift operator.
    #    'E228',  # - Fix missing whitespace around modulo operator.
    #    'E231',  # - Add missing whitespace.
    #    'E241',  # - Fix extraneous whitespace around keywords.
    #    'E242',  # - Remove extraneous whitespace around operator.
    #    'E251',  # - Remove whitespace around parameter '=' sign.
    #    'E26 ',  # - Fix spacing after comment hash for inline comments.
    #    'E265',  # - Fix spacing after comment hash for block comments.
    #    'E27 ',  # - Fix extraneous whitespace around keywords.
    #    'E301',  # - Add missing blank line.
    #    'E302',  # - Add missing 2 blank lines.
    #    'E303',  # - Remove extra blank lines.
    #    'E304',  # - Remove blank line following function decorator.
    #    'E306',  # - Expected 1 blank line before a nested definition
    #    'E401',  # - Put imports on separate lines.
    #    'E502',  # - Remove extraneous escape of newline.
    #    'E70 ',  # - Put semicolon-separated compound statement on separate lines.
    #    'W291',  # - Remove trailing whitespace.
    #    'W292',  # - Add a single newline at the end of the file.
    #    'W293',  # - Remove trailing whitespace on blank line.
    #    'W391',  # - Remove trailing blank lines.
@jmoeckel jmoeckel closed this Mar 14, 2018
@jmoeckel jmoeckel reopened this Mar 14, 2018
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