hacking/releasenotes/notes/remove-python23-checks-f1be3588a2a83522.yaml
Stephen Finucane e8a45225e1 Remove Python 2->3 checks
These were not running on Python 3 codebases which is everything now.

Note that 'assertEquals'/'assertNotEquals', which is checked for by one
test, is still present in some codebases, despite it being removed in
Python 3. This is because this variant is added by testtools, which
adds its own deprecation warning that we don't need to duplicate.

Change-Id: I3f15376db78886b7eecad3fdfdd363c6ea5d19c6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-08-02 11:24:25 +01:00

17 lines
563 B
YAML

---
upgrade:
- |
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.