Python code style

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "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: [http://l...")
 
 
Line 11: Line 11:
 
* pylint [http://www.pylint.org/]
 
* pylint [http://www.pylint.org/]
  
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.
+
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.

Latest revision as of 21:05, 6 April 2014

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: [1]

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.

Personal tools