-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix flake8 issues - #2581 #2582
Conversation
W191 indentation contains tabs W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
indentation contains mixed spaces and tabs
indentation is not a multiple of four
unexpected indentation
continuation line under-indented for hanging indent
continuation line missing indentation or outdented
closing bracket does not match indentation of opening bracket’s line
closing bracket does not match visual indentation
continuation line with same indent as next logical line
continuation line over-indented for hanging indent
continuation line over-indented for visual indent
continuation line under-indented for visual indent
visually indented line with same indent as next logical line
continuation line unaligned for hanging indent
whitespace after ‘(‘
whitespace before ‘)’
whitespace before ‘:’
multiple spaces before operator
multiple spaces after operator
missing whitespace around operator
missing whitespace around arithmetic operator
missing whitespace after ‘,’, ‘;’, or ‘:’
multiple spaces after ‘,’
unexpected spaces around keyword / parameter equals
at least two spaces before inline comment
inline comment should start with ‘# ‘
block comment should start with ‘# ‘
multiple spaces after keyword
multiple spaces before keyword
too many blank lines (3)
multiple imports on one line
module level import not at top of file
line too long (> 120 characters)
multiple statements on one line (colon)
multiple statements on one line (semicolon)
multiple statements on one line (def)
comparison to True should be ‘if cond is True:’ or ‘if cond:’
do not assign a lambda expression, use a def
You can add the EP2017 sprint tag to this pull request too 😉 |
I like this PR as this fixes the long standing issue of pep8 compatibility. There's some points to consider though:
So in the end I think this should be merged, just wanted to clarify all pain points so everyone is on the same page. 😉 After this is merged we probably need some docs and a
|
Question: should we squash this before merging? |
i like the full history in this case |
@nicoddemus feel free you squashing or not. But one thing you should know, the Thx guys the fast reply. |
I don't see the value in this case but that is fine. Shall we merge this then? |
Thanks, noted. Do you have a suggestion for a better suited tool? |
Unfortunately no, I don't. |
I see, thanks. If nobody opposes this, I plan to merge this later tonight and update the |
@nicoddemus, what's your exact plan w/ So I prefer to use |
My idea is to just use Like |
ok 👍 |
Thanks for submitting a PR, your contribution is really appreciated!
Here's a quick checklist that should be present in PRs:
$issue_id.$type
for example (588.bug)removal
,feature
,bugfix
,vendor
,doc
ortrivial
bugfix
,vendor
,doc
ortrivial
fixes, targetmaster
; for removals or features targetfeatures
;Unless your change is a trivial or a documentation fix (e.g., a typo or reword of a small section) please:
AUTHORS
;