Skip to content

feat: 对于未使用的参数报警 #177

@weilycoder

Description

@weilycoder

例如 repeated_edges=... 容易记成 repeated_edge,而库中的函数签名设计对 IDE 也不友好。这可能导致出现用户预期外的行为。

建议将所有参数都记录在函数签名中,为了向下兼容保留 *args**kwargs,并在此类参数被使用时报警。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions