-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Black is not enforcing E: 501 #1582
Comments
What does that line 318 look like? Does it have a long string? Might be that Black couldn't make that line fit and you'll need to manually adjust it. |
@hugovk Please look at line 319... error message is showing line 318 because I deleted one line before taking a snapshot. Also, if I am placing the rest of the sentence after |
Ah right! One idea is to append thing = {
a: a,
looooooooooooooooooooooooooooooooooooooooooooooooooooong: looooooooooooooooooooooooooooooooooooooooooooooooooooong, # noqa: E501
} |
@hugovk what I am currently doing is appending This is happening at many places and I would not want to append |
Going to call this a duplicate of #620. |
Below is my pyproject.toml file
Below is my .flake8 file
I have attached a screenshot of a dict in python
In the above image, line no 319 the line-length has exceeded the max length(120) given in the file. Black is not formatting this and flake8 is throwing error every time. Why is black not enforcing E: 501?
You can see this in the error snapshot
Black version is : 19.10b0
Python: 2.7
Please help!!
Thanks
The text was updated successfully, but these errors were encountered: