ChartBoost / ruff-action

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

Environment variable `RUFF_FORMAT` deprecated in `ruff==0.0.291` #6

Closed celynw closed 8 months ago

celynw commented 11 months ago

As of v0.0.291, the environment variable has been renamed. Looks like this action still works without issue, it just raises a warning

warning: The environment variable `RUFF_FORMAT` is deprecated. Use `RUFF_OUTPUT_FORMAT` instead.

I'm not very familiar with actions, so I think it would be better if somebody else handles this change.

Thanks for making this available!

brucearctor commented 11 months ago

@celynw -- I don't have time to dig into this at the moment. I suspect we'd just add another line like: https://github.com/ChartBoost/ruff-action/blob/main/action.yml#L32 to this [ we'd probably want to keep that line, for now, to keep compatibility ].

I marked as good-first-issue for someone/anyone. Contributions welcome!