Problem
For python code-bases, we currently have an standard of 80 characters per line, documented at https://wikitech.wikimedia.org/wiki/Wikimedia_Cloud_Services_team/Python_coding
The 80 characters per line is something that was introduced decades ago when screens were small.
Nowadays, virtually nobody codes or reads code on a setup such as:
- can't fit more than 80 characters
- can't zoom or scroll horizontally to overcome such limitation
Some other major projects have abandon such limit already.
The python pep8 standard recommends 79, but explicitly mentions that coding teams can increase the limit if they agree on it.
Moreover, we already have some amount of divergence among our own project's source trees.
This decision request is to review such limit.
Constraints and risks
- N/A
Decision record
In progress.
Options
Option 1
Leave it like it is now. 80 characters.
Pros:
- TBD.
Cons:
- TBD.
Option 2
Introduce 100 characters line limit.
Pros:
- TBD.
Cons:
- TBD.
Option 2
Introduce 120 characters line limit.
Pros:
- TBD.
Cons:
- TBD.