We are thrilled to announce the release of: hacking 7.0.0: OpenStack Hacking Guideline Enforcement The source is available from: https://opendev.org/openstack/hacking Download the package from: https://pypi.org/project/hacking For more details, please see below. 7.0.0 ^^^^^ Upgrade Notes * The following checks have been removed: * H231 (incompatible "except x,y:" construct) * H232 (incompatible octal format) * H233 (incompatible use of "print" operator) * H234 ("assertEquals"/"assertNotEquals" is deprecated) * H235 ("assert_" is deprecated) * H236 (incompatible "__metaclass__") * H237 (removed module) * H238 (old style classes) These all checked for Python 3-incompatible code. They were disabled on Python 3 codebases and have therefore been no-ops for some time now. Changes in hacking 6.1.0..7.0.0 ------------------------------- 3e63bb7 Remove unnecessary setup.cfg config d2f97aa Bump flake8 version e8a4522 Remove Python 2->3 checks 76cbdfc Make openstack-tox-py312 voting 634cb78 Ignore SyntaxError exceptions 7966c83 Add missing Python classifiers d40d46b Python 3.14: do not use deprecated ast.NameConstant 977ee03 Drop tox target for python 3.5 Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 6 + hacking/checks/except_checks.py | 26 ++- hacking/checks/python23.py | 232 --------------------- py35-upper-constraints.txt | 1 - .../remove-python23-checks-f1be3588a2a83522.yaml | 16 ++ requirements.txt | 2 +- setup.cfg | 16 +- tox.ini | 6 - 8 files changed, 48 insertions(+), 257 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 70978e9..02ca863 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -flake8~=6.1.0 # MIT +flake8~=7.1.1 # MIT
participants (1)
-
no-reply@openstack.org