Is there an autoformatter autpep8 tool one can use inside Thonny?

84 views
Skip to first unread message

Alexandre Villares

unread,
May 25, 2020, 12:40:15 PM5/25/20
to thonny
Hi,

I have seen this issue at https://github.com/thonny/thonny/issues/665 but I wonder if there is a plug-in or other way around it.

cheers,
Alexandre

---
technology and art educator

Aivar Annamaa

unread,
Jun 2, 2020, 6:04:57 AM6/2/20
to thonny
Hi!

Thonny currently doesn't have any special support for PEP8. I just described a (moderately convenient) workaround under https://github.com/thonny/thonny/issues/665

Best regards,
Aivar

Alexandre Villares

unread,
Aug 14, 2021, 8:22:43 AM8/14/21
to thonny
Just as followup to this discussion I started...

I found this great Thonny plug-in https://github.com/yossioo/thonny-black-code-format

And I hacked my own version that uses Blue code formatter instead (because I prefer single quotes)
https://github.com/villares/thonny-blue-code-format

Cheers!
Alexandre
Reply all
Reply to author
Forward
0 new messages