I’m working on improving the script editing experience right now. Linting/formatting (perhaps using a no-config formatter like black is something I’ve considered, but it’s a non-trivial effort, mostly due to the unusual execution environment. There aren’t a lot of written-in-Java formatters for Python code - which doesn’t mean it’s impossible to do first-party, but it’s a lot of effort (and some risk) for relatively low gain.
3 Likes