third_party.pylibs.pylint.src/tests
Tim Martin 37c22bf7ab
Suppress useless-super-delegation on __hash__ in classes with __eq__ (#6611)
* Suppress useless-super-delegation on __hash__ in classes with __eq__

If the class overrides __eq__, then the runtime will look for a
definition of __hash__, which will have an effect even if it is
trivial. (#3934)

* Extract a helper function to avoid "too many returns" pylint warning

* Improve comments and add a type declaration

* Use safe_infer() for inferring the function expression
2022-05-15 23:37:29 +02:00
..
benchmark Use main instead of master as main checker name (#6569) 2022-05-10 11:38:53 +02:00
checkers Remove never run test (#6520) 2022-05-06 10:49:11 +02:00
config Use main instead of master as main checker name (#6569) 2022-05-10 11:38:53 +02:00
data Use an empty pylintrc for tests using project's pylintrc implicitely 2022-04-26 09:08:23 +02:00
extensions Add a pre-commit hook to check the copyright notice 2022-03-24 13:06:15 +01:00
functional Suppress useless-super-delegation on __hash__ in classes with __eq__ (#6611) 2022-05-15 23:37:29 +02:00
input Simplify hard to maintain copyright notice 2022-03-24 13:06:15 +01:00
lint Respect ignore configuration options when --recursive=y. (#6528) 2022-05-13 17:30:49 +02:00
message Use main instead of master as main checker name (#6569) 2022-05-10 11:38:53 +02:00
messages Performance improvment of the Similarity checker (#4565) 2021-07-28 21:11:10 +02:00
primer Use an empty pylintrc for tests using project's pylintrc implicitely 2022-04-26 09:08:23 +02:00
profile Use an empty pylintrc for tests using project's pylintrc implicitely 2022-04-26 09:08:23 +02:00
pyreverse Change `pyreverse` output 2022-05-05 13:21:21 +02:00
regrtest_data Respect ignore configuration options when --recursive=y. (#6528) 2022-05-13 17:30:49 +02:00
testutils Use main instead of master as main checker name (#6569) 2022-05-10 11:38:53 +02:00
utils Fix AstCallbackMethod typing (#6445) 2022-05-05 11:26:09 +02:00
conftest.py Use an empty pylintrc for tests using project's pylintrc implicitely 2022-04-26 09:08:23 +02:00
test_check_parallel.py Use main instead of master as main checker name (#6569) 2022-05-10 11:38:53 +02:00
test_deprecation.py Fix disabling of `bad-option-value` (#6556) 2022-05-09 23:25:38 +02:00
test_epylint.py Add a pre-commit hook to check the copyright notice 2022-03-24 13:06:15 +01:00
test_func.py C2901 & C2902: New checks for unnecessary lambda expression usage (#6004) 2022-05-04 14:34:49 +02:00
test_functional_directories.py Add a pre-commit hook to check the copyright notice 2022-03-24 13:06:15 +01:00
test_functional.py [spelling] Remove remaining typoes detected by the spelling checker 2022-04-26 09:12:32 +02:00
test_import_graph.py Fix option setting in our testsuite 2022-04-15 10:24:45 +02:00
test_numversion.py Add a pre-commit hook to check the copyright notice 2022-03-24 13:06:15 +01:00
test_pragma_parser.py Move no-self-use to optional extension (#6448) 2022-05-05 18:47:47 +02:00
test_pylint_runners.py Use `python-typing-update on half of the tests` directory (#6317) 2022-04-14 19:37:49 +02:00
test_regr.py Disable fixme for internal uses before we make it optional in #3512 (#6482) 2022-05-01 19:56:15 +02:00
test_self.py Merge branch 'maintenance/2.13.x' into main following 2.13.9 release 2022-05-13 17:47:55 +02:00
test_similar.py Activate the `duplicate-code` checker (#6121) 2022-05-05 15:06:50 +02:00
unittest_reporters_json.py Use `python-typing-update on half of the tests` directory (#6317) 2022-04-14 19:37:49 +02:00
unittest_reporting.py Remove `__implements__ = IReporter` 2022-04-19 23:58:56 +02:00