From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 93FE32B8A for ; Fri, 3 Jun 2016 12:51:37 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 03 Jun 2016 03:51:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,411,1459839600"; d="scan'208";a="968141092" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.81]) by orsmga001.jf.intel.com with SMTP; 03 Jun 2016 03:51:34 -0700 Received: by (sSMTP sendmail emulation); Fri, 03 Jun 2016 11:51:34 +0025 Date: Fri, 3 Jun 2016 11:51:33 +0100 From: Bruce Richardson To: John McNamara Cc: dev@dpdk.org Message-ID: <20160603105133.GA17812@bricha3-MOBL3> References: <1464361035-4087-1-git-send-email-john.mcnamara@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464361035-4087-1-git-send-email-john.mcnamara@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] doc: add pep8 as the python code style guidelines X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 10:51:38 -0000 On Fri, May 27, 2016 at 03:57:15PM +0100, John McNamara wrote: > Added PEP8 to the DPDK Coding Style guidelines to cover Python > contributions to DPDK. > > Signed-off-by: John McNamara > --- > v2: fixed section level. > > > 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..1eb67f3 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. > -- Yep, I think this would be good to have, especially since there is a nice public tool to help ensure people are compliant with this. Even though all existing code is not (yet) compliant no reason new code shouldn't be. Acked-by: Bruce Richardson