Skip to content

[REFACTOR] Deprecate round parameter name in function definitions #890

Description

@Casper-Guo

#889 enables Ruff A rules to prevent names that shadow Python built-ins. Rule A002 (checks for function argument name shadowing built-ins) is disabled as it raises errors for all instances of functions using round as a parameter.

There are 14 such functions, most of them are public and any change to the parameter name will require a proper deprecation process. Changing the parameter name will also require modifying parameterized test cases.

A fix will involve significant effort but this should be a long-term code quality goal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    styleIssue is related to code style

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions