Skip to content

[UnnecessaryFunctionArguments] Warns on callback implementations with use #73

@pbrudnick

Description

@pbrudnick

Bug Description

Functions of modules using use AGivenModule which inside define callbacks and has the macro __using__ implementing those callbacks, are being analyzed as common functions instead of being ignored.

It's very related with #71 , maybe the same fix fixes both, but those are different ways of using behaviours that should be addressed.

To Reproduce

Modules implementing a module with use Module which callbacks implementations overrides the using one and ignore any argument.

Expected Behavior

Ignore the function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions