Skip to content

Update ruff usage #1119

@CoderJoshDK

Description

@CoderJoshDK

ruff is no longer in beta. Astral has a first party action: https://github.com/astral-sh/ruff-action

The settings for what to select and ignore should be defined in the pyrpoject.toml file or ruff.toml file. A better list of lints to enable should be decided. The default secretion is very basic and generally you should enable more.

On top of linting, ruff should also be used to format the code. These are different operations from ruff. It follows the black style guide.

Assuming these changes are desired, I can update the workflow?

I would highly suggest resolving #1118 first. It will make a few design decisions easier.

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