Is disabling line wrapping altogether possible? #15096
-
I'd like to be able to disable line wrapping altogether. I do not just want to set the line length to the max of 320. I've tried the following
This doesn't seem to work. Anyone have success with this? I like using other features, like fixing spacing with my comments, consistent quotations, mccabe checking, but I really would love to disable line wrapping. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi. Can you tell me a bit more about what commands you're using? Do you use |
Beta Was this translation helpful? Give feedback.
-
I use There's examples like this all over the codebase I'm referencing. |
Beta Was this translation helpful? Give feedback.
Thanks. The example is very helpful.
No, the formatter has no such option. You could try some of the pycodestyle
E2XX
rules to see if they can replicate your desired behavior, but many of them, unfortunately, have no autofix today. So they might not be very useful to you.