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
Too long lines (E501) fail to be reported when ending with an open triple-quoted string #679
Comments
I will take on this task if you do not mind it |
Please do 👍 |
Sorry, I became short on time - must concentrate on my new project. I will not work on this issue. |
It's fixed already.
|
Thanks for noticing that @r3m0t |
Hello - the issue still persists with pycodestyle v2.8.0. You may reproduce it with following snippet: no_flake8_e501_error = "My line longer than 80 chars xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" + '''
'''
flake8_e501_error = "My line longer than 80 chars xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" Running flake8 on this file results with:
Here are my flake8 installed plugins: $ poetry run flake8 --bug-report
{
"dependencies": [],
"platform": {
"python_implementation": "CPython",
"python_version": "3.9.6",
"system": "Darwin"
},
"plugins": [
{
"is_local": false,
"plugin": "mccabe",
"version": "0.6.1"
},
{
"is_local": false,
"plugin": "pycodestyle",
"version": "2.8.0"
},
{
"is_local": false,
"plugin": "pyflakes",
"version": "2.4.0"
}
],
"version": "4.0.1"
} |
this seems to be flake8 specific, I'll open an issue there: PyCQA/flake8#1534 |
I initialiy reported this issue on flake8 and got redirected here.
Too long lines (E501) fail to be reported when ending open with a triple-quoted string (aka longstring).
Here's an example:
foo.py
:The text was updated successfully, but these errors were encountered: