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

Update ruff config to latest #12510

Merged
merged 4 commits into from
Feb 5, 2024

Conversation

notatallshaw
Copy link
Member

@notatallshaw notatallshaw commented Feb 4, 2024

This PR updates ruff in CI pipeline to 0.2.0 and provides a few fixes:

  1. Moves linting config options from "tool.ruff" to "tool.ruff.lint" (linting options are now depricated in the top level ruff config)
  2. Fixes 1 new error that ruff 0.2.0 raises
  3. Specifies the source directory as "src" (ruff defaults to "." which is not true for Pip)

@notatallshaw notatallshaw force-pushed the update-ruff-config-to-latest branch from fff58b6 to 5ca52ff Compare February 4, 2024 16:07
@sbidoul sbidoul merged commit 51de88c into pypa:main Feb 5, 2024
26 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants