Skip to content

Implement the config options for flake8-unused-arguments #1254

@lovetox

Description

@lovetox

Hi, this is very useful check but we cant use it because it detects **kwargs / *args as unused.
I believe its not necessary to mark this unsued vars, as bei convention **kwargs / *args is in most cases expected to not be used as it acts as a catch all.
I have to say i never seen a codebase that prefixes that with underscore.

i was not able to use any of the config options

i tried

[tool.ruff.flake8-unused-arguments]
unused-arguments-ignore-variadic-names = "true"

but no luck

Metadata

Metadata

Assignees

Labels

configurationRelated to settings and configuration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions