Python Forum
"Limit all lines to a maximum of 79 characters"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Limit all lines to a maximum of 79 characters"
#15
90'ish Beyond PEP 8.
Black use defaults to 88 characters.
I feel like 90'ish is okay for almost all i do,in very rare cases over 100 if it make no sense to split it up.

Also some wise advice in Black:
Black Wrote:You can also increase it, but remember that people with sight disabilities find it harder to work with line lengths exceeding 100 characters.
It also adversely affects side-by-side diff review on typical screen resolutions.
Long lines also make it harder to present code neatly in documentation or talk slides
Reply


Messages In This Thread
RE: "Limit all lines to a maximum of 79 characters" - by snippsat - Jun-20-2019, 11:04 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020