From mboxrd@z Thu Jan 1 00:00:00 1970 From: John McNamara Subject: [PATCH v1] doc: add pep8 as the python code style guidelines Date: Fri, 27 May 2016 15:50:42 +0100 Message-ID: <1464360642-2695-1-git-send-email-john.mcnamara@intel.com> Cc: John McNamara To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E310F2C45 for ; Fri, 27 May 2016 16:50:45 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Added PEP8 to the DPDK Coding Style guidelines to cover Python contributions to DPDK. Signed-off-by: John McNamara --- 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 ad1392d..df64aad 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.5.0