Skip to content

False negative no-value-for-parameter when positional-only argument name consumed by **kwargs #8559

@jacobtylerwalls

Description

@jacobtylerwalls

Bug description

# pylint: disable=missing-function-docstring, missing-module-docstring
def required_positional_with_var_kwargs(a, /, **_kwargs):
    return a

required_positional_with_var_kwargs(a=43)

Configuration

No response

Command used

pylint a.py

Pylint output

nothing

Expected behavior

no-value-for-parameter

Pylint version

pylint 3.0.0b1
astroid 2.16.0dev0
Python 3.8.10

OS / Environment

No response

Additional dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    False Negative 🦋No message is emitted but something is wrong with the codeMinor 💅Polishing pylint is always niceNeeds PRThis issue is accepted, sufficiently specified and now needs an implementation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions