third_party.pylibs.pylint.src/doc/whatsnew
craig-sh c6322018ab Enhance the protocol checker (#3259)
This commit adds multiple checks for various Python protocols

  E0304 (invalid-bool-returned): __bool__ did not return a bool
  E0305 (invalid-index-returned): __index__ did not return an integer
  E0306 (invalid-repr-returned): __repr__ did not return a string
  E0307 (invalid-str-returned): __str__ did not return a string
  E0308 (invalid-bytes-returned): __bytes__ did not return a string
  E0309 (invalid-hash-returned): __hash__ did not return an integer
  E0310 (invalid-length-hint-returned): __length_hint__ did not return a non-negative integer
  E0311 (invalid-format-returned): __format__ did not return a string
  E0312 (invalid-getnewargs-returned): __getnewargs__ did not return a tuple
  E0313 (invalid-getnewargs-ex-returned): __getnewargs_ex__ did not return a tuple of the form (tuple, dict)

Close #560
2019-11-27 16:00:08 +01:00
..
1.6.rst
1.7.rst
1.8.rst
1.9.rst
2.1.rst
2.2.rst
2.3.rst
2.4.rst
2.5.rst Enhance the protocol checker (#3259) 2019-11-27 16:00:08 +01:00
2.0.rst
changelog.rst
index.rst