summaryrefslogtreecommitdiff
path: root/CONTRIBUTORS.txt
diff options
context:
space:
mode:
authorSamuel Freilich <sfreilich@google.com>2021-10-26 17:02:38 -0400
committerGitHub <noreply@github.com>2021-10-26 23:02:38 +0200
commit4007c8b3eb0b02c01332b191755cb12390c16eef (patch)
tree4985e93485b67867850f38aebde7968cf75b3336 /CONTRIBUTORS.txt
parent216da02ad659aad6edd14dbbebada5e0eb76fded (diff)
downloadpylint-git-4007c8b3eb0b02c01332b191755cb12390c16eef.tar.gz
Clean up some useless-super-delegation logic (#5193)
* Clean up some useless-super-delegation logic In _definition_equivalent_to_call, avoid constructing a tuple and calling "all" on that. Instead, just check each condition in turn, terminating as soon as one fails. In _has_different_parameters_default_value, use a single sentinel value for a missing default instead of constructing a new one each call. Also construct the dict of comparators once instead of once each call. Restructure the logic to be less nested. Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'CONTRIBUTORS.txt')
-rw-r--r--CONTRIBUTORS.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 8733bb995..a23f73b66 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -563,6 +563,8 @@ contributors:
* Arianna Yang: contributor
+* Samuel Freilich (sfreilich): contributor
+
* Mike Fiedler (miketheman): contributor
* Takahide Nojima: contributor