[openstack-dev] [tricircle]Question regarding pep8 test

Vega Cai luckyvega.g at gmail.com
Wed Feb 3 12:17:47 UTC 2016


Hi Khayam,

Could you check the version of your flake8? It's located in .tox/pep8/bin.

D102 is one of the pep8 error, and I find it's not ignored in Tricircle
tox.ini, so I guess that flake8 on Jenkins doesn't enable this error by
default but in your flake8, this error is enabled.

I check the log of one successful Jenkins job on Tricircle and list the
version of flake8 and related packages Jenkins uses below:

flake8==2.2.4
hacking==0.10.2
pyflakes==0.8.1
mccabe==0.2.1

BR
Zhiyuan

On 3 February 2016 at 14:53, Zhipeng Huang <zhipengh512 at gmail.com> wrote:

> Hi Khayam,
>
> We try to get every communication on the mailing list for transparency :)
> So I copied your email here.
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Zhiyan pls check to see what happened.
>
> Sent from HUAWEI AnyOffice
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Hi Chaoyi,
>
> When I run local *pep8 *test using* tox -e pep8*, It always shows error
> regarding
>
> *./tricircle/tests/unit/network/test_plugin.py:268:1: D102  Missing
> docstring in public method*
>
> but on Jenkins no such errors are shown. Due to this contradictory
> behavior, I am unable to locally test *pep8*.
>
> May be there is something I am missing or not well using. Is it possible
> for you to guide me through.
>
>
>
> Regards
>
> Khayam
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
> --
> Zhipeng (Howard) Huang
>
> Standard Engineer
> IT Standard & Patent/IT Prooduct Line
> Huawei Technologies Co,. Ltd
> Email: huangzhipeng at huawei.com
> Office: Huawei Industrial Base, Longgang, Shenzhen
>
> (Previous)
> Research Assistant
> Mobile Ad-Hoc Network Lab, Calit2
> University of California, Irvine
> Email: zhipengh at uci.edu
> Office: Calit2 Building Room 2402
>
> OpenStack, OPNFV, OpenDaylight, OpenCompute Aficionado
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160203/a22391b3/attachment.html>


More information about the OpenStack-dev mailing list