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

Ruff warns that --format is deprecated in favour of --output-format #4

Closed
allanlewis opened this issue Jan 30, 2024 · 3 comments · Fixed by #5
Closed

Ruff warns that --format is deprecated in favour of --output-format #4

allanlewis opened this issue Jan 30, 2024 · 3 comments · Fixed by #5

Comments

@allanlewis
Copy link

When I run pylint-to-ruff with Ruff 0.1.14, I get the following warning on stderr before the TOML output:

warning: The `--format` argument is deprecated. Use `--output-format` instead.

This isn't a major issue, but it would be nice to auto-detect the version of Ruff and use the appropriate option.

@akx
Copy link
Owner

akx commented Jan 30, 2024

I should know, I wrote the PR that added the warning... 😂

@allanlewis
Copy link
Author

I should know, I wrote the PR that added the warning... 😂

I didn't notice that! In that case you're clearly the best person to address it here 😄

@akx akx mentioned this issue Jan 30, 2024
@akx akx closed this as completed in #5 Jan 30, 2024
@akx
Copy link
Owner

akx commented Jan 30, 2024

Fixed – will be released in 0.3.0 Any Moment Now :)

Thanks for the report!

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

Successfully merging a pull request may close this issue.

2 participants