Re: Existential doubt: Python line size

2024-06-15 Thread José Matos
On Fri, 2024-06-14 at 18:26 -0400, Richard Kimberly Heck wrote: > Same. There are times when code gets so deeply indented that even 100 > becomes restrictive. > > Riki I agree, so I set that for python code, and tools that use pyproject.toml, to 96. -- José Abílio -- lyx-devel mailing list lyx

Re: Existential doubt: Python line size

2024-06-14 Thread Richard Kimberly Heck
On 6/13/24 18:24, Jean-Marc Lasgouttes wrote: Le 13/06/2024 à 22:34, Pavel Sanda a écrit : On Thu, Jun 13, 2024 at 07:08:01PM +0100, José Matos wrote: Although modern terminals have more lines and rows (for example the shell screen that I use have 236 rows by 90 lines) we need to set some commo

Re: Existential doubt: Python line size

2024-06-14 Thread Kornel Benko
Am Thu, 13 Jun 2024 14:28:12 -0400 schrieb Scott Kostyshak : > On Thu, Jun 13, 2024 at 07:08:01PM GMT, José Matos wrote: > > > So my question to you is: what do you think that the limit should be? > > > > I do not mind to share this limit with the C++ code, after all most of > > the same rationa

Re: Existential doubt: Python line size

2024-06-13 Thread Jean-Marc Lasgouttes
Le 13/06/2024 à 22:34, Pavel Sanda a écrit : On Thu, Jun 13, 2024 at 07:08:01PM +0100, José Matos wrote: Although modern terminals have more lines and rows (for example the shell screen that I use have 236 rows by 90 lines) we need to set some common ground. So my question to you is: what do yo

Re: Existential doubt: Python line size

2024-06-13 Thread Pavel Sanda
On Thu, Jun 13, 2024 at 07:08:01PM +0100, José Matos wrote: > Although modern terminals have more lines and rows (for example the > shell screen that I use have 236 rows by 90 lines) we need to set some > common ground. > > So my question to you is: what do you think that the limit should be? Wha

Existential doubt: Python line size

2024-06-13 Thread José Matos
Dear developers, I would like to reformat the Python code. My major doubt is on what it should be the maximum line size for Python code. Traditional wisdom, coming from standard screens of the 80's set it to 80. Two of the best used tools to reformat Python code, black and ruff, set this limit

Re: Existential doubt: Python line size

2024-06-13 Thread Scott Kostyshak
On Thu, Jun 13, 2024 at 07:08:01PM GMT, José Matos wrote: > So my question to you is: what do you think that the limit should be? > > I do not mind to share this limit with the C++ code, after all most of > the same rational applies. No strong opinion, but I do think it should be consistent acro