-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 0.6 #12834
Merged
Merged
Ruff 0.6 #12834
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a5ebf4f - Browse repository at this point
Copy the full SHA a5ebf4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4de0e9 - Browse repository at this point
Copy the full SHA e4de0e9View commit details -
Co-authored-by: Alex Waygood <[email protected]> Closes #12754
Configuration menu - View commit details
-
Copy full SHA for c97d157 - Browse repository at this point
Copy the full SHA c97d157View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13702e1 - Browse repository at this point
Copy the full SHA 13702e1View commit details -
Deprecate PT004 and PT005 (#12837)
Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3682f8 - Browse repository at this point
Copy the full SHA e3682f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6dbc3 - Browse repository at this point
Copy the full SHA 1e6dbc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35990fb - Browse repository at this point
Copy the full SHA 35990fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e49836d - Browse repository at this point
Copy the full SHA e49836dView commit details -
Change default for PT001 and PT023 (#12838)
Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ef9566 - Browse repository at this point
Copy the full SHA 6ef9566View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0f04f4 - Browse repository at this point
Copy the full SHA f0f04f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d42d6f - Browse repository at this point
Copy the full SHA 9d42d6fView commit details -
Detect imports in
src
layouts by default (#12848)## Summary Occasionally, we receive bug reports that imports in `src` directories aren't correctly detected. The root of the problem is that we default to `src = ["."]`, so users have to set `src = ["src"]` explicitly. This PR extends the default to cover _both_ of them: `src = [".", "src"]`. Closes #12454. ## Test Plan I replicated the structure described in #12453, and verified that the imports were considered sorted, but that adding `src = ["."]` showed an error.
Configuration menu - View commit details
-
Copy full SHA for 4e5af5c - Browse repository at this point
Copy the full SHA 4e5af5cView commit details -
Stabilize support for Jupyter Notebooks (#12878)
Co-authored-by: Alex Waygood <[email protected]> Closes: #12456 Closes: astral-sh/ruff-vscode#546
Configuration menu - View commit details
-
Copy full SHA for 8da1c12 - Browse repository at this point
Copy the full SHA 8da1c12View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.