File: remove-python23-checks-f1be3588a2a83522.yaml

package info (click to toggle)
python-hacking 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 376 kB
  • sloc: python: 1,356; sh: 38; makefile: 23
file content (16 lines) | stat: -rw-r--r-- 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
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.