[openstack-dev] [hacking] Hacking 0.9.1 released
Joe Gordon
joe.gordon0 at gmail.com
Mon Jun 9 19:24:18 UTC 2014
Hi folks,
Hacking 0.9.1 has just been released (hacking 0.9.1 had a minor bug).
Unlike other dependencies 'OpenStack Proposal Bot' does not automatically
push out a patch to the new version.
The recommended way to upgrade to hacking 0.9.1 is to add any new failing
tests to the exclude list in tox.ini and fix those in subsequent patches
(example: https://review.openstack.org/#/c/98864/).
pep8 1.5.x changed a whole bunch of internals, so when upgrading to the new
hacking please make sure your local checks still work.
best,
Joe
Release Notes:
- New dependency versions, all with new features
- pep8==1.5.6 [*https://github.com/jcrocholl/pep8/blob/master/CHANGES.txt
<https://github.com/jcrocholl/pep8/blob/master/CHANGES.txt>
<https://mail.google.com/>*]
- Report E129 instead of E125 for visually indented line with same
indent as next logical line.
- Report E265 for space before block comment.
- Report E713 and E714 when operators ``not in`` and ``is not``
are recommended (taken from hacking).
- Report E131 instead of E121 / E126 if the hanging indent is not
consistent within the same continuation block. It helps when
error E121 or
E126 is in the ``ignore`` list.
- Report E126 instead of E121 when the continuation line is
hanging with extra indentation, even if indentation is not a
multiple of 4.
- pyflakes==0.8.1
- flake8==2.1.0
- More rules support noqa
- Added to: H701, H702, H232, H234, H235, H237
- Gate on Python3 compatibility
- Dropped H901,H902 as those are now in pep8 and enforced by E713 and
E714
- Support for separate localization catalogs
- Rule numbers added to http://docs.openstack.org/developer/hacking/
- Improved performance
- New Rules:
- H104 File contains nothing but comments
- H305 imports not grouped correctly
- H307 like imports should be grouped together
- H405 multi line docstring summary not separated with an empty line
- H904 Wrap long lines in parentheses instead of a backslash
Thank you to everyone who contributed to hacking 0.9.1:
* Joe Gordon
* Ivan A. Melnikov
* Ben Nemec
* Chang Bo Guo
* Nikola Dipanov
* Clay Gerrard
* Cyril Roelandt
* Dirk Mueller
* James E. Blair
* Jeremy Stanley
* Julien Danjou
* Lei Zhang
* Marc Abramowitz
* Mike Perez
* Radomir Dopieralski
* Samuel Merritt
* YAMAMOTO Takashi
* ZhiQiang Fan
* fujioka yuuichi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140609/287059cf/attachment.html>
More information about the OpenStack-dev
mailing list