diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-04-15 10:38:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 10:38:55 +0200 |
commit | ec96bdc206350e378137da27c2f4cd103a94dc63 (patch) | |
tree | 5c1f8545993ec86533c6360e94ac38a2b244a13b /tests/functional/k/keyword_arg_before_vararg_positional_only.txt | |
parent | 16fe498b68c170b317eaea94bf85efd568a1dd0a (diff) | |
download | pylint-git-ec96bdc206350e378137da27c2f4cd103a94dc63.tar.gz |
Fix false positive for ``keyword-arg-before-vararg`` (#8571) (#8578)
* Fix false positive for ``keyword-arg-before-vararg`` when a positional-only parameter with a default value precedes ``*args``.
Closes #8570
(cherry picked from commit 56fa5dce747a46f1dcba6eca003bb22fcc347247)
Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com>
Diffstat (limited to 'tests/functional/k/keyword_arg_before_vararg_positional_only.txt')
-rw-r--r-- | tests/functional/k/keyword_arg_before_vararg_positional_only.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/k/keyword_arg_before_vararg_positional_only.txt b/tests/functional/k/keyword_arg_before_vararg_positional_only.txt new file mode 100644 index 000000000..18700e2e4 --- /dev/null +++ b/tests/functional/k/keyword_arg_before_vararg_positional_only.txt @@ -0,0 +1,3 @@ +keyword-arg-before-vararg:6:0:6:9:name1:Keyword argument before variable positional arguments list in the definition of name1 function:UNDEFINED +keyword-arg-before-vararg:7:0:7:9:name2:Keyword argument before variable positional arguments list in the definition of name2 function:UNDEFINED +keyword-arg-before-vararg:8:0:8:9:name3:Keyword argument before variable positional arguments list in the definition of name3 function:UNDEFINED |