third_party.pylibs.pylint.src/doc
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
..
development_guide
exts
how_tos
media
technical_reference
user_guide
whatsnew Enhance the protocol checker (#3259) 2019-11-27 16:00:08 +01:00
backlinks.rst
conf.py
faq.rst
index.rst
intro.rst
logo.png
logo.svg
make.bat
Makefile
release.txt
requirements.txt
support.rst
tutorial.rst