improved autoformatting for go/python
some cleanup of mostly unused stuff