Re: [openstack-dev] [hacking] Hacking 0.9.1 released

2014-06-11 Thread Joe Gordon
That was quick, we now have hacking 0.9.2.


http://git.openstack.org/cgit/openstack-dev/hacking/commit/?id=e56eddf55b4e8be9826e8eb968b2893ecab7201b

Fixed warning H302 when used with six.moves
Checking whether something is a module now also consults ``sys.meta_path``,
as per the import specification. This fixes H302 with six = 1.7.0, where a
custom finder/loader is used. Change-Id:
I4e401e0fcce077f81a5471692aa6ecd16f26f6ed
https://review.openstack.org/#q,I4e401e0fcce077f81a5471692aa6ecd16f26f6ed,n,z
Close-bug: 1329002 https://code.launchpad.net/bugs/1329002


On Mon, Jun 9, 2014 at 5:03 PM, Joe Gordon joe.gord...@gmail.com wrote:




 On Mon, Jun 9, 2014 at 12:24 PM, Joe Gordon joe.gord...@gmail.com wrote:

 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.


 Edit: hacking 0.9.0 had a minor bug


 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



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [hacking] Hacking 0.9.1 released

2014-06-09 Thread Joe Gordon
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
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [hacking] Hacking 0.9.1 released

2014-06-09 Thread Joe Gordon
On Mon, Jun 9, 2014 at 12:24 PM, Joe Gordon joe.gord...@gmail.com wrote:

 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.


Edit: hacking 0.9.0 had a minor bug


 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

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev