Skip to content

Suggesting to use min()/max() #3406

Closed
@EugeneZelenko

Description

@EugeneZelenko

It'll be great to recognize code patterns that could be replaced with min() and max() functions. For example:

if value < 10: value = 10

with value = max(value, 10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement ✨Improvement to a componentGood first issueFriendly and approachable by new contributorsHelp wanted 🙏Outside help would be appreciated, good for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions