Skip to content

[FEATURE] Add Pyupgrade to Ruff #1335

@maxrabin

Description

@maxrabin

Problem Statement

The project targets Python 3.10+ but uses outdated Python syntax in some places. The project should use Ruff to implement pypugrade https://docs.astral.sh/ruff/rules/#pyupgrade-up.

Proposed Solution

Update pyproject.toml to add the "UP" rule.

Use Case

Makes the code cleaner, more modern, and reduces runtime imports.

Alternatives Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions