Skip to content

Ruff nested min max PYLW3301 autofix bug? #5066

@Ryang20718

Description

@Ryang20718

ruff version 0.0.272

print(min(1, 2, 3, min(4)))

With pylint warning enabled, ruff check --fix on this file causes autofix to return

print(min(1, 2, 3, *4))

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions