summaryrefslogtreecommitdiff
path: root/tests/functional/a/arguments_positional_only.py
Commit message (Collapse)AuthorAgeFilesLines
* Add new checker `kwarg-superseded-by-positional-arg` and fix a false ↵Mark Byrne2023-05-161-15/+0
| | | | | | | | | | 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>
* Fix false negative for no-value-for-parameter: positional-only args and ↵Mark Byrne2023-04-141-0/+15
**kwargs (#8575)