[release-announce] [quality] hacking 1.0.0

no-reply at openstack.org no-reply at openstack.org
Wed Sep 6 08:29:34 UTC 2017


We are excited to announce the release of:

hacking 1.0.0: OpenStack Hacking Guideline Enforcement

Download the package from:

    https://pypi.python.org/pypi/hacking

For more details, please see below.

1.0.0
^^^^^

New Features

* This release includes a new check, disabled by default. [H210]
  Require 'autospec', 'spec', or 'spec_set' in

     mock.patch/mock.patch.object calls

  [H204] Use assert(Not)Equal to check for equality. [H205] Use
  assert(Greater|Less)(Equal) for comparison.

Changes in hacking 0.13.0..1.0.0
--------------------------------

d842b77 Release notes for 0.14.0
1eea811 Add tests to show '# noqa' works with mock.patch check
5fa587d Update the doc URL in the documents
c4cdad7 rearrange existing documentation to fit the new standard layout
39271f9 Switch from oslosphinx to openstackdocstheme
f45fe0a Turn on warning-is-error in doc build
b273261 Add a check to enforce use of 'autospec' in mock.patch
f733b31 Add py3.5 support in setup.cfg
635d5d3 Updated from global requirements
4576fdc Add explicit support for py35
8ee5feb Remove support for py33/py26
e32cbcb Fix broken link
c82a0b0 Remove discover from test-requirements
5917e79 Add Constraints support
74ced1a Updated from global requirements
206b421 Revert "local-check-factory CLI option"
65b4a03 Add a check to make sure the right assert* method is used


Diffstat (except docs and test files)
-------------------------------------

HACKING.rst                                        |  37 +++++-
README.rst                                         |  20 ++-
hacking/checks/except_checks.py                    | 105 +++++++++++++++-
hacking/checks/mock_checks.py                      | 137 +++++++++++++++++++++
hacking/core.py                                    |  23 ++--
.../notes/start-of-queens-c3024ebbb49aef6f.yaml    |   8 ++
releasenotes/source/conf.py                        |  13 +-
requirements.txt                                   |   2 +-
setup.cfg                                          |  13 +-
test-requirements.txt                              |   9 +-
tools/tox_install.sh                               |  30 +++++
tox.ini                                            |  12 +-
20 files changed, 383 insertions(+), 79 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 7146fce..3fd3f6a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4 +4 @@
-pbr>=1.6 # Apache-2.0
+pbr>=1.8 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 92e335f..53f7da5 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4,2 +4 @@
-coverage>=3.6 # Apache-2.0
-discover # BSD
+coverage>=4.0 # Apache-2.0
@@ -9,2 +8,2 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
-sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
-oslosphinx>=4.7.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
+openstackdocstheme>=1.11.0 # Apache-2.0
@@ -22 +21 @@ eventlet!=0.18.3,>=0.18.2 # MIT
-reno>=1.8.0 # Apache2
+reno>=1.8.0 # Apache-2.0






More information about the Release-announce mailing list