Skip to content

Code style check failed due to latest Ruff breaking changes #3899

Description

@BaldDemian

My draft PR #3877 failed in the code style check CI job. It seems to be caused by the latest Ruff, which expands its number of checking rules from 59 to 413.

I used the latest Ruff to check all Fory Python files locally and it complained a lot of errors. Some of them can be automatically fixed with --fix, some of them can't.

@chaokunyang So should we fix all Ruff errors or should we just pin one Ruff version in the CI?

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