Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add new checker `kwarg-superseded-by-positional-arg` and fix a false ↵ | Mark Byrne | 2023-05-16 | 1 | -2/+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 Byrne | 2023-04-14 | 1 | -0/+2 |
**kwargs (#8575) |