Just one line break required between defs. Install https://github.com/SublimeLinter/SublimeLinter to get these warnings in SublimeText. I follow PEP8 in our codebase.