3 ms·
PEP8 isn't a language requirement, but a style guide. There are tools to enforce style on Python, but the language itself does not.
by dragonwriter 7y ago
PEP8 isn't a language requirement, but a style guide. There are tools to enforce style on Python, but the language itself does not.
- giancarlostoro 7y agoSame thing with Go... Tabs aren't enforced, but the out of the box formatter will use tabs. PyCharm will default to trying to follow PEP8, and GoLand will do the same, it will try to follow the gofmt standards. See: https://stackoverflow.com/questions/19094704/indentation-in-go-tabs-or-spaces https://stackoverflow.com/questions/19094704/indentation-in-...