From mboxrd@z Thu Jan 1 00:00:00 1970 From: John McNamara Subject: [PATCH v2 4/4] doc: add required python versions to coding guidelines Date: Thu, 8 Dec 2016 16:03:52 +0000 Message-ID: <1481213032-14935-4-git-send-email-john.mcnamara@intel.com> References: <1481212265-10229-1-git-send-email-john.mcnamara@intel.com> Cc: mkletzan@redhat.com, John McNamara To: dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 072462BA8 for ; Thu, 8 Dec 2016 17:04:08 +0100 (CET) In-Reply-To: <1481212265-10229-1-git-send-email-john.mcnamara@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add a requirement to support both Python 2 and 3 to the DPDK Python Coding Standards. Signed-off-by: John McNamara --- doc/guides/contributing/coding_style.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index 1eb67f3..4163960 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -690,6 +690,7 @@ Control Statements Python Code ----------- -All python code should be compliant with `PEP8 (Style Guide for Python Code) `_. +All Python code should work with Python 2.7+ and 3.2+ and be compliant with +`PEP8 (Style Guide for Python Code) `_. The ``pep8`` tool can be used for testing compliance with the guidelines. -- 2.7.4