sendgrid-python icon indicating copy to clipboard operation
sendgrid-python copied to clipboard

Update ruff usage

Open CoderJoshDK opened this issue 4 months ago • 0 comments

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.

CoderJoshDK avatar Sep 12 '25 11:09 CoderJoshDK