[openstack-dev] [all][clients] Enable hacking in python-*clients

Kekane, Abhishek Abhishek.Kekane at nttdata.com
Tue Jan 19 09:44:21 UTC 2016


> Hi Abishek,

> In my understanding, hacking check is enabled for most (or all) of
> python-*client.
> For example, flake8 is run for each neutronclient review [1].
> test-requirements installs hacking, so I believe hacking check is enabled.
> openstackclient and novaclient do the same [2] [3].
> Am I missing something?

Hi Akhiro Motoki,

Individual OpenStack projects has separate hacking module (e.g. nova/hacking/checks.py) which contains additional rules other than standard PEP8 errors/warnings.
In similar mode can we do same in python-*clients?

Abhishek

> [1] http://git.openstack.org/cgit/openstack/python-neutronclient/tree/tox.ini#n26
> [2] http://git.openstack.org/cgit/openstack/python-openstackclient/tree/tox.ini#n15
> [3] http://git.openstack.org/cgit/openstack/python-novaclient/tree/tox.ini#n24

From: Kekane, Abhishek [mailto:Abhishek.Kekane at nttdata.com]
Sent: 19 January 2016 10:49
To: OpenStack Development Mailing List (openstack-dev at lists.openstack.org)
Subject: [openstack-dev] [all][clients] Enable hacking in python-*clients

Hi Devs,

As of now all OpenStack projects has hacking checks which take cares about OpenStack guidelines issues are caught while running PEP8 checks using tox.
There are no such checks in any of the python-*client.

IMO its worth to enable hacking checks in python-*clients as well which will caught some guidelines issues in local environment only,

Please let me know your opinion on the same.

Thanks & Regards,

Abhishek Kekane

______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.

______________________________________________________________________
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
or forwarding.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160119/9d063280/attachment.html>


More information about the OpenStack-dev mailing list