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

chore: modernize ruff config to work with ruff >= v0.2 #1651

Closed
wants to merge 1 commit into from
Closed

chore: modernize ruff config to work with ruff >= v0.2 #1651

wants to merge 1 commit into from

Conversation

afuetterer
Copy link
Contributor

This PR modernizes the ruff configuration to work with ruff >= v0.2.

It gets rid of these warnings:

$ ruff frictionless tests
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.

and

$ ruff frictionless tests
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`:
  - 'ignore' -> 'lint.ignore'
  - 'per-file-ignores' -> 'lint.per-file-ignores'

@afuetterer
Copy link
Contributor Author

Tests are failing, because ruff wants to reformat a couple of files.

Should I add the formatted files to this PR?

@roll
Copy link
Member

roll commented Apr 29, 2024

Thanks! Fixed by #1652

@roll roll closed this Apr 29, 2024
@afuetterer afuetterer deleted the ruff branch April 29, 2024 13:20
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.

2 participants