The code style used in agocontrol python devices and libraries should adhere to the codestyle PEP-8
More information about the PEP-8 coding style can be found here: 
Your code should follow this style to be accepted into the agocontrol repository.
Some helpful tools to check your coding style are:
Basic rule of thumb is: If both tools above don't give any warnings, errors or coding style issues; then you're good to go.