![Boden R](/assets/img/avatar_default.png)
Neutron recently updated their usage of hacking to use version 0.12 [1] that now contains the hacking check check_delayed_string_interpolation who's off_by_default value is initially True (i.e. disabled). This hacking check is defined in neutron_lib, but hasn't been registered in our factory and isn't being consumed directly [2]. This patch takes a simple approach to reusing openstack-dev hacking checks: - Removes all traces of neutron-lib's version of the check; no one is using it [2]. - Bumps our version of hacking to use 0.12 so we can use the checks in that release. - Enables the check via enabled extensions in tox.ini as neutron did [1]. - Updates our hacking check usage, noting that adopters should enable the same extensions we do (via tox.ini). [1] https://review.openstack.org/#/c/394817/ [2] http://codesearch.openstack.org/?q=check_delayed_string_interpolation&i=nope&files=&repos= Change-Id: Ie9448317855b9cba6092cd0f63b77d26a562a5c9
6 lines
225 B
YAML
6 lines
225 B
YAML
---
|
|
other:
|
|
- OpenStack dev hacking check ``H904`` is now enabled in ``tox.ini``
|
|
via the ``enable-extensions`` configuration property. Neutron-lib
|
|
adopters should also enable this hacking check in their ``tox.ini``.
|