If I clone an anvil app to my local machine and do anything within my local editor, I have PEP8 complaints from my linter which are distracting and annoying. (It particularly doesn’t like the use of two spaces instead of four).
Given that it’s almost impossible to find a way to please everyone in this area, could I suggest the use of http://editorconfig.org/?
If the ide supported editorconfig, there could be a default config file for any app which could then be ammended to suit individual needs.
Old thread, but I agree. 4 spaces is the right way to go for Python. Should be a project level setting. 4 spaces default for new apps, 2 spaces for existing apps. A tool to help convert space count would be a nice touch.