Sujet : Re: name of the package (or style) that uses lots of extra lines in Python programming?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.lang.lisp comp.lang.pythonDate : 21. Aug 2024, 09:56:00
Autres entêtes
Message-ID : <lilksgF3vkeU2@mid.individual.net>
References : 1
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Tue, 20 Aug 2024 21:55:20 -0700, HenHanna wrote:
What's the name of the package (or style) that uses
lots of extra lines in Python programming?
it looks like this:
main()
{
int c; .......
}
like Begin-End of Algol, Pascal from 1960's and 1970's.
If it looks like that it's C not Python.
https://peps.python.org/pep-0008/#blank-lines'black' is a formatter that will neaten up a file. 'ruff' does quite a bit
more but also can format. If you're stingy with whitespace either will add
extra lines.