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

Line Length rule #947

Closed
ljades opened this issue Jul 26, 2019 · 1 comment
Closed

Line Length rule #947

ljades opened this issue Jul 26, 2019 · 1 comment

Comments

@ljades
Copy link

ljades commented Jul 26, 2019

Operating system: Mac
Python version: 3.6
Black version: 19.3b0
Does also happen on master: Yes

Line length is set to 100, for context--no other options being used

CONSTANT_DEFINED_DICT = {
     "keyA": "valueA",
     "keyB": "valueB",
     "keyC": "valueC",
-    "keyThatAlsoHappensToBeSuperLongButStillWithinLengthLimit":
-        "valueThatAlsoHappensToBeSuperLongButStillWithinLengthLimit",
+    "keyThatAlsoHappensToBeSuperLongButStillWithinLengthLimit": "valueThatAlsoHappensToBeSuperLongButStillWithinLengthLimit",
}

There is a bug where, the former is being corrected to the latter, even though the latter exceeds line length limits.

@zsol
Copy link
Collaborator

zsol commented Jul 26, 2019

Duplicate of #847

@zsol zsol marked this as a duplicate of #847 Jul 26, 2019
@zsol zsol closed this as completed Jul 26, 2019
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

No branches or pull requests

2 participants