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 #1120

Merged
merged 1 commit into from
Apr 30, 2024
Merged

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

merged 1 commit into from
Apr 30, 2024

Conversation

afuetterer
Copy link
Contributor

Hi, this is my first PR to the project. Please let me know, if I missed anything.

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

It gets rid of these warnings:

$ ruff ninja tests
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
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'
  - 'select' -> 'lint.select'
  - 'per-file-ignores' -> 'lint.per-file-ignores'
All checks passed!

@vitalik vitalik merged commit 5b4c006 into vitalik:master Apr 30, 2024
27 checks passed
@afuetterer afuetterer deleted the ruff branch April 30, 2024 12:29
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