[Tutor] creating and writing to a text file

Cameron Simpson cs at cskk.id.au
Tue Mar 30 02:18:29 EDT 2021


On 30Mar2021 15:02, Phil <phillor9 at gmail.com> wrote:
>On 30/3/21 10:14 am, Cameron Simpson wrote:
>>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.

You can make a .style.yapf file to hold settings too.

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

If you're talking about pyflakes, it's a linter:

    https://pypi.org/project/pyflakes/

It actually promises to not complain about style :-)

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Tutor mailing list