From d1a220851dfafd844f543c4e24e746f90341b3a1 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Fri, 27 May 2016 15:57:15 +0100 Subject: [PATCH] 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 --- doc/guides/contributing/coding_style.rst | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.20.1