summaryrefslogtreecommitdiff
path: root/tests/functional/a/arguments.txt
diff options
context:
space:
mode:
authorMark Byrne <31762852+mbyrnepr2@users.noreply.github.com>2023-05-16 10:34:47 +0200
committerGitHub <noreply@github.com>2023-05-16 10:34:47 +0200
commitd392ea5d8a11049a275207cf18e488bf19a57c69 (patch)
treeaf336aaa260297d971ed5fbf16acbb32c9dde8c2 /tests/functional/a/arguments.txt
parent0a6c21bfab8237431c9f5198068451b243e91448 (diff)
downloadpylint-git-d392ea5d8a11049a275207cf18e488bf19a57c69.tar.gz
Add new checker `kwarg-superseded-by-positional-arg` and fix a false positive (#8644)
* Fix a false positive for ``redundant-keyword-arg`` when a function, with a keyword-only-parameter and ``**kwargs``, is called with a positional argument and a keyword argument where the keyword argument has the same name as the positional-only-parameter. * Add new checker ``kwarg-superseded-by-positional-arg`` which emits a warning message for the above scenario. Closes #8558 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/functional/a/arguments.txt')
-rw-r--r--tests/functional/a/arguments.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functional/a/arguments.txt b/tests/functional/a/arguments.txt
index 41f7831f6..70a99e1a2 100644
--- a/tests/functional/a/arguments.txt
+++ b/tests/functional/a/arguments.txt
@@ -37,3 +37,5 @@ unexpected-keyword-arg:203:23:203:56:namedtuple_replace_issue_1036:Unexpected ke
no-value-for-parameter:216:0:216:24::No value for argument 'third' in function call:UNDEFINED
no-value-for-parameter:217:0:217:30::No value for argument 'second' in function call:UNDEFINED
unexpected-keyword-arg:218:0:218:43::Unexpected keyword argument 'fourth' in function call:UNDEFINED
+redundant-keyword-arg:308:0:308:79::Argument 'banana' passed by position and keyword in function call:UNDEFINED
+no-value-for-parameter:318:0:318:16::No value for argument 'param1' in function call:UNDEFINED