-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[cling-cpt] Split long lines to get rid of E501 error [skip-ci] #11010
Conversation
Can one of the admins verify this patch? |
Will make more pull requests to fully get rid of the E501 error |
"sudo {0} -m pip" + | ||
" install distro".format(sys.executable), shell=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to split at the ,
to avoid breaking the string literal (same below, where it applies).
#download_llvm_binary() | ||
#compile = compile_for_binary | ||
#install_prefix = install_prefix_for_binary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this additional change? It's not part of the PR description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I am surprised they only report the issues but to not provide an automatic generate a fix for these coding violations.
@saisoma123, can you rebase this PR? |
@vgvassilev Yeah I think there is a way for automatic linting I'll do that instead. I'll also rebase the PR right now |
Yeah just rebased the PR |
This Pull request: Makes the code more flake8 compliant.
Changes or fixes: Split lines that were longer than 79 characters.
Checklist:
This PR fixes issue #406 mentioned in (root-project/cling#406)