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

Fixed deprecation of ruff <path> #840

Merged
merged 1 commit into from
Mar 3, 2024
Merged

Fixed deprecation of ruff <path> #840

merged 1 commit into from
Mar 3, 2024

Conversation

funkeleinhorn
Copy link
Contributor

Ruff 0.3.0 deprecated the usage of ruff in favor of ruff check :
https://github.com/astral-sh/ruff/releases/tag/v0.3.0

This commit fixes this with making nbqa ruff call ruff check instead of ruff.
Closes #837

Ruff 0.3.0 deprecated the usage of ruff <path> in favor of
ruff check <path>:
https://github.com/astral-sh/ruff/releases/tag/v0.3.0

This commit fixes this with making nbqa ruff call ruff check instead of ruff.
Copy link
Collaborator

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @funkeleinhorn !

@MarcoGorelli MarcoGorelli merged commit 2303a49 into nbQA-dev:main Mar 3, 2024
3 of 11 checks passed
@MarcoGorelli
Copy link
Collaborator

@all-contributors please add @funkeleinhorn for bugs

Copy link
Contributor

@MarcoGorelli

I've put up a pull request to add @funkeleinhorn! 🎉

@funkeleinhorn funkeleinhorn deleted the fix-ruff-check-deprecated branch March 3, 2024 17:46
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 this pull request may close these issues.

tests/tools/test_ruff_works.py fails as ruff <path> was deprecated in ruff 0.3.0
2 participants