ChartBoost / ruff-action

A GitHub Action for Ruff
Apache License 2.0
121 stars 21 forks source link

Incompatible with ruff 0.5.0 #30

Open BenediktBurger opened 2 months ago

BenediktBurger commented 2 months ago

From the ruff changelog, the following is deprecated: ruff <path>; use ruff check <path>

It seems, that this action relies on ruff <path>.

A fix should be simple: In line https://github.com/ChartBoost/ruff-action/blob/491342200cdd1cf4d5132a30ddc546b3b5bc531b/action/main.py#L28

add "check" between req (which contains the string "ruff" and the version) and the path, following thereafter.

cclauss commented 3 weeks ago

installing ruff... warning: The top-level linter settings are deprecated in favour of their counterparts in the lint section. Please update the following options in pyproject.toml: