Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected argument '--format' found caused by upgrading Ruff to latest version #62

Closed
lextoumbourou opened this issue Oct 17, 2023 · 2 comments

Comments

@lextoumbourou
Copy link

lextoumbourou commented Oct 17, 2023

Hi team, about 7 hours ago Ruff was updated to the latest version: fbcc7f8

However, Ruff removed support for the --format argument breaking the latest version of this action: astral-sh/ruff#7984

We get this error in all our actions that use this check:

+ ruff --version
+ ruff --format github '--ignore=E402' --fix '--line-length=90' text2song-service/
ruff 0.1.0
error: unexpected argument '--format' found

Proposed fix. Either:

  • lock version of Ruff to previous version
  • migrate to new flag.

Thanks for making this action!

@jpetrucciani
Copy link
Owner

Thanks for the note! I'll get this fixed up and re-tagged

@jpetrucciani
Copy link
Owner

@main and @0.1.0 both should now be fixed up with the new flag!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants