From: John McNamara Date: Fri, 27 May 2016 14:57:15 +0000 (+0100) Subject: doc: add pep8 as the python code style guidelines X-Git-Tag: spdx-start~6845 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d1a220851dfafd844f543c4e24e746f90341b3a1;p=dpdk.git doc: add pep8 as the python code style guidelines Added PEP8 to the DPDK Coding Style guidelines to cover Python contributions to DPDK. Signed-off-by: John McNamara Acked-by: Bruce Richardson --- diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index ad1392d2e4..1eb67f3476 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -685,3 +685,11 @@ Control Statements usage(); /* NOTREACHED */ } + + +Python Code +----------- + +All python code should be compliant with `PEP8 (Style Guide for Python Code) `_. + +The ``pep8`` tool can be used for testing compliance with the guidelines.