forked from Slicer/Slicer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Update python code with whitespace fixes
This fixes all remaining pycodestyle E2 whitespace error codes. Bulk of updates performed using autopep8 CLI with the following command: autopep8 --in-place --select E201,E202,E203,E211,E221,E222,E225,E226,E227,E228,E231,E241,E251,E261,E262,E265,E266,E271 $(git ls-files '*.py') See https://github.com/hhatto/autopep8#readme References: * Whitespace after '(' See https://www.flake8rules.com/rules/E201.html * Whitespace before ')' See https://www.flake8rules.com/rules/E202.html * Whitespace before ':' See https://www.flake8rules.com/rules/E203.html * Whitespace before '(' See https://www.flake8rules.com/rules/E211.html * Multiple spaces before operator See https://www.flake8rules.com/rules/E221.html * Multiple spaces after operator See https://www.flake8rules.com/rules/E222.html * Missing whitespace around operator See https://www.flake8rules.com/rules/E225.html * Missing whitespace around arithmetic operator See https://www.flake8rules.com/rules/E226.html * Missing whitespace around bitwise or shift operator See https://www.flake8rules.com/rules/E227.html * Missing whitespace around modulo operator See https://www.flake8rules.com/rules/E228.html * Missing whitespace after ',', ';', or ':' See https://www.flake8rules.com/rules/E231.html * Multiple spaces after ',' See https://www.flake8rules.com/rules/E241.html * Unexpected spaces around keyword / parameter equals See https://www.flake8rules.com/rules/E251.html * At least two spaces before inline comment See https://www.flake8rules.com/rules/E261.html * Inline comment should start with '# ' See https://www.flake8rules.com/rules/E262.html * Block comment should start with '# ' See https://www.flake8rules.com/rules/E265.html * Too many leading '#' for block comment See https://www.flake8rules.com/rules/E266.html * Multiple spaces after keyword See https://www.flake8rules.com/rules/E271.html
- Loading branch information
1 parent
e8d195c
commit 5b0fc5c
Showing
177 changed files
with
2,805 additions
and
2,841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.