[Tutor] creating and writing to a text file

Phil phillor9 at gmail.com
Tue Mar 30 00:02:12 EDT 2021


On 30/3/21 10:14 am, Cameron Simpson wrote:
>
> Black is for people who want consistent formatting (it certainly eases
> diff churn etc once the formatting is done) but _don't_ care about
> style.
>
> I remain a big fan of yapf, and use it by default.

I've installed yapf and had a little play using the --style "pep8" and 
-i options and it seems to work well.

Another profiler that I'd used is flake, or is it flake8?. Yapf has 
fewer options and seems to be easier to use.

-- 

Regards,
Phil



More information about the Tutor mailing list