Re: Code Formatter Questions

2021-03-30 Thread Terry Reedy
On 3/29/2021 4:18 PM, dn via Python-list wrote: Very good point: I'd much rather you spent time helping me with a design/coding problem, helping debug, and/or reviewing/improving my code (and I for you); than we had not time left-over after spending many hours and much mental energy arguing abou

Re: Code Formatter Questions

2021-03-29 Thread dn via Python-list
On 29/03/2021 23.15, Matt Wheeler wrote: >> On 29 Mar 2021, at 04:45, Cameron Simpson wrote: >> >> yapf has many tunings. Worth a look. It is my preferred formatter. By >> comparison, black is both opinionated and has basicly no tuning, >> something I greatly dislike. > > This is not a mark or

Re: Code Formatter Questions

2021-03-29 Thread Matt Wheeler
> On 29 Mar 2021, at 04:45, Cameron Simpson wrote: > > yapf has many tunings. Worth a look. It is my preferred formatter. By > comparison, black is both opinionated and has basicly no tuning, > something I greatly dislike. This is not a mark or a vote against yapf (I’ve never used it), but I

Re: Code Formatter Questions

2021-03-28 Thread Cameron Simpson
On 28Mar2021 15:42, Travis Griggs wrote: >I've been looking into using a code formatter as a code base size has grown as >well as contributing developers. I've found and played with autopep, black, >and yapf. As well as whatever pycharm has (which may just be gui preferences >around one of thos

Re: Code Formatter Questions

2021-03-28 Thread dn via Python-list
On 29/03/2021 04.42, Travis Griggs wrote: > I've been looking into using a code formatter as a code base size has grown > as well as contributing developers. I've found and played with autopep, > black, and yapf. As well as whatever pycharm has (which may just be gui > preferences around one of

Re: Code Formatter Questions

2021-03-28 Thread Skip Montanaro
> 1) Are there any major other formatters that I can/should look at? I see some > "online" pretty printers, but I'm after something I can run on whole > recursive directories of code. I use Emacs, so I'm kind of biased, but I find its python-mode does a good job, good enough that I wouldn't use

Re: Code Formatter Questions

2021-03-28 Thread Paul Bryan
On Sun, 2021-03-28 at 15:42 +, Travis Griggs wrote: > I've been looking into using a code formatter as a code base size has > grown as well as contributing developers. I've found and played with > autopep, black, and yapf. As well as whatever pycharm has (which may > just be gui preferences aro