Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rjmorris
on Nov 23, 2020
|
parent
|
context
|
favorite
| on:
Show HN: Making Python one-liner-fit with the new ...
You can change the max line length in black (the Python formatter I hear mentioned most often). How would you feel about setting it to something really large, like 1000, to emulate having no line length limit?
georgyo
on Nov 23, 2020
[–]
That doesn't work still. It will reflow all your lines to reflow to 1000. Try it out, anything above 88 makes even the cleanest python a nightmare.
I don't like long lines, but reflowing logic is way to aggressive in these formatters.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: