diff options
author | Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | 2022-08-13 20:34:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 14:34:47 -0400 |
commit | 0fa2d6e43b25bb4863b0301435b5c5dbef7a1b64 (patch) | |
tree | 292ee89603e060119a2d473a1269620e01b7e2af /tests/functional/n/no/no_self_argument.txt | |
parent | 6f9c371c4f82281570869be2e4c609844bfd8c34 (diff) | |
download | pylint-git-0fa2d6e43b25bb4863b0301435b5c5dbef7a1b64.tar.gz |
Fix false positive for `no-self-argument` (#7301)
* Fix false positive for `no-self-argument` when a staticmethod is applied to a function but uses a different name.
Closes #7300
Diffstat (limited to 'tests/functional/n/no/no_self_argument.txt')
-rw-r--r-- | tests/functional/n/no/no_self_argument.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/n/no/no_self_argument.txt b/tests/functional/n/no/no_self_argument.txt index 45d12cc32..9fd34c8d2 100644 --- a/tests/functional/n/no/no_self_argument.txt +++ b/tests/functional/n/no/no_self_argument.txt @@ -1,2 +1,2 @@ -no-self-argument:8:4:8:16:NoSelfArgument.__init__:"Method should have ""self"" as first argument":UNDEFINED -no-self-argument:12:4:12:12:NoSelfArgument.abdc:"Method should have ""self"" as first argument":UNDEFINED +no-self-argument:15:4:15:16:NoSelfArgument.__init__:"Method should have ""self"" as first argument":UNDEFINED +no-self-argument:19:4:19:12:NoSelfArgument.abdc:"Method should have ""self"" as first argument":UNDEFINED |