mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
c6322018ab
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 |
||
---|---|---|
.. | ||
development_guide | ||
exts | ||
how_tos | ||
media | ||
technical_reference | ||
user_guide | ||
whatsnew | ||
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 |