Skip to content

MNT: upgrading to ruff 0.9 #17615

@neutrinoceros

Description

@neutrinoceros

This one is expected to be big as it is ruff's formatter yearly upgrade.
See associated blog post https://astral.sh/blog/ruff-v0.9.0

New stable lints

All new violations are autofixable

RUF100 (unused-noqa) violations are probably best resolved only when we upgrade (otherwise we might get errors from ruff 0.8.x ...), but the other two can be addressed in advance. I'll open a couple PRs to that effect now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions