doc: add pep8 as the python code style guidelines
authorJohn McNamara <john.mcnamara@intel.com>
Fri, 27 May 2016 14:57:15 +0000 (15:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Jun 2016 07:52:26 +0000 (09:52 +0200)
Added PEP8 to the DPDK Coding Style guidelines to cover Python
contributions to DPDK.

Signed-off-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
doc/guides/contributing/coding_style.rst

index ad1392d..1eb67f3 100644 (file)
@@ -685,3 +685,11 @@ Control Statements
                  usage();
                  /* NOTREACHED */
          }
+
+
+Python Code
+-----------
+
+All python code should be compliant with `PEP8 (Style Guide for Python Code) <https://www.python.org/dev/peps/pep-0008/>`_.
+
+The ``pep8`` tool can be used for testing compliance with the guidelines.