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

PEP8: indentation fixes #139

Merged
merged 20 commits into from
Jan 13, 2021
Merged

PEP8: indentation fixes #139

merged 20 commits into from
Jan 13, 2021

Conversation

neteler
Copy link
Member

@neteler neteler commented Jan 12, 2021

(Trivial) indentation fixes, including:

  • E121 continuation line under-indented for hanging indent
  • E122 continuation line missing indentation or outdented
  • E123 closing bracket does not match indentation of opening bracket's line
  • E125 continuation line with same indent as next logical line
  • E128 continuation line under-indented for visual indent
  • E131 continuation line unaligned for hanging indent
  • E202 whitespace before ')'
  • E211 whitespace before '('
  • E221 multiple spaces before operator
  • E225 missing whitespace around operator
  • E261 at least two spaces before inline comment
  • E271 multiple spaces after keyword
  • E302 expected 2 blank lines, found 1
  • E303 too many blank lines (2)
  • E305 expected 2 blank lines after class or function definition, found 1

Needed for new GitHub action "flake8", see #140

@neteler neteler merged commit e66b6b5 into actinia-org:master Jan 13, 2021
@neteler neteler deleted the pep8_flake_indent_fixes branch January 13, 2021 14:09
neteler added a commit that referenced this pull request Jan 20, 2021
* GitHub action: added flake8 tests

yml file:
workflows/flake8.yml: inspired by https://github.com/OSGeo/grass/blob/master/.github/workflows/flake8.yml

The .flake8 file have been inspired by:
- https://github.com/OSGeo/grass/blob/master/scripts/.flake8

Requires #139
@mmacata mmacata added this to the 0.99.X milestone Nov 9, 2022
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.

4 participants