diff options
author | Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | 2023-05-16 10:34:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 10:34:47 +0200 |
commit | d392ea5d8a11049a275207cf18e488bf19a57c69 (patch) | |
tree | af336aaa260297d971ed5fbf16acbb32c9dde8c2 /tests/functional/a/arguments_positional_only.txt | |
parent | 0a6c21bfab8237431c9f5198068451b243e91448 (diff) | |
download | pylint-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_positional_only.txt')
-rw-r--r-- | tests/functional/a/arguments_positional_only.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/functional/a/arguments_positional_only.txt b/tests/functional/a/arguments_positional_only.txt deleted file mode 100644 index 7112e6880..000000000 --- a/tests/functional/a/arguments_positional_only.txt +++ /dev/null @@ -1 +0,0 @@ -no-value-for-parameter:11:0:11:16::No value for argument 'param1' in function call:UNDEFINED |