Skip to content

Commit

Permalink
STYLE: Update python code with indentation fixes
Browse files Browse the repository at this point in the history
This fixes all remaining pycodestyle E1 indentation error codes.

Bulk of updates performed using autopep8 CLI
with the following command:

  autopep8 --in-place --select E111,E114,E115,E116,E117,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131 $(git ls-files '*.py')

See https://github.com/hhatto/autopep8#readme

References:

* Indentation is not a multiple of four
  See https://www.flake8rules.com/rules/E111.html

* Indentation is not a multiple of four (comment)
  See https://www.flake8rules.com/rules/E114.html

* Expected an indented block (comment)
  See https://www.flake8rules.com/rules/E115.html

* Unexpected indentation (comment)
  See https://www.flake8rules.com/rules/E116.html

* Over-indented
  See https://www.flake8rules.com/rules/E117.html

* Continuation line under-indented for hanging indent
  See https://www.flake8rules.com/rules/E121.html

* Continuation line missing indentation or outdented
  See https://www.flake8rules.com/rules/E122.html

* Closing bracket does not match indentation of opening bracket's line
  See https://www.flake8rules.com/rules/E123.html

* Closing bracket does not match visual indentation
  See https://www.flake8rules.com/rules/E124.html

* Continuation line with same indent as next logical line
  See https://www.flake8rules.com/rules/E125.html

* Continuation line over-indented for hanging indent
  See https://www.flake8rules.com/rules/E126.html

* Continuation line over-indented for visual indent
  See https://www.flake8rules.com/rules/E127.html

* Continuation line under-indented for visual indent
  See https://www.flake8rules.com/rules/E128.html

* Visually indented line with same indent as next logical line
  See https://www.flake8rules.com/rules/E129.html

* Continuation line unaligned for hanging indent
  See https://www.flake8rules.com/rules/E131.html
  • Loading branch information
jamesobutler authored and lassoan committed Jun 22, 2022
1 parent 5b0fc5c commit 9390be6
Show file tree
Hide file tree
Showing 206 changed files with 41,711 additions and 41,738 deletions.
30 changes: 0 additions & 30 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,6 @@ ignore = \
B009, \
# B010] Do not call setattr with a constant attribute value, it is not any safer than normal property access.
B010, \
# Indentation is not a multiple of four
E111, \
# Indentation is not a multiple of four (comment)
E114, \
# expected an indented block (comment)
E115, \
# unexpected indentation (comment)
E116, \
# over-indented
E117, \
# continuation line under-indented for hanging indent
E121, \
# continuation line missing indentation or outdented
E122, \
# closing bracket does not match visual indentation
E124, \
# closing bracket does not match indentation of opening bracket's line
E123, \
# continuation line with same indent as next logical line
E125, \
# continuation line over-indented for hanging indent
E126, \
# continuation line over-indented for visual indent
E127, \
# continuation line under-indented for visual indent
E128, \
# visually indented line with same indent as next logical line
E129, \
# continuation line unaligned for hanging indent
E131, \
# multiple imports on one line
E401, \
# module level import not at top of file
Expand Down
Loading

0 comments on commit 9390be6

Please sign in to comment.