Thanks to visit codestin.com
Credit goes to github.com

Skip to content

missing_argument_linter() incorrect for multiple missing arguments #2399

@MichaelChirico

Description

@MichaelChirico
lint(text = "foo(,,)", linters = missing_argument_linter())
# <text>:1:5: style: [missing_argument_linter] Missing argument 1 in function call.
# foo(,,)
#     ^
# <text>:1:6: style: [missing_argument_linter] Missing argument 2 in function call.
# foo(,,)
#      ^

But there are three missing arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-negativecode that should lint, but doesn't

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions