-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: astral-sh/ruff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.8
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: astral-sh/ruff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.9.9
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 24 files changed
- 5 contributors
Commits on Feb 27, 2025
-
Allow passing
ParseOptions
to inline tests (#16357)## Summary This PR adds support for a pragma-style header for inline parser tests containing JSON-serialized `ParseOptions`. For example, ```python # parse_options: { "target-version": "3.9" } match 2: case 1: pass ``` The line must start with `# parse_options: ` and then the rest of the (trimmed) line is deserialized into `ParseOptions` used for parsing the the test. ## Test Plan Existing inline tests, plus two new inline tests for `match-before-py310`. --------- Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 764aa0e - Browse repository at this point
Copy the full SHA 764aa0eView commit details -
Show version-related syntax errors in the playground (#16419)
## Summary Fixes part of #16417 by converting `unsupported_syntax_errors` into playground diagnostics. ## Test Plan A new `ruff_wasm` test, plus trying out the playground locally: Default settings:  `target-version = "py310"`: 
Configuration menu - View commit details
-
Copy full SHA for cf83584 - Browse repository at this point
Copy the full SHA cf83584View commit details
Commits on Feb 28, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a8e171f - Browse repository at this point
Copy the full SHA a8e171fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ced8d0 - Browse repository at this point
Copy the full SHA 0ced8d0View commit details -
Prioritize "bug" label for changelog sections (#16433)
## Summary This PR updates the ordering of changelog sections to prioritize `bug` label such that any PRs that has that label is categorized in "Bug fixes" section in when generating the changelog irrespective of any other labels present on the PR. I think this works because I've seen PRs with both `server` and `bug` in the "Server" section instead of the "Bug fixes" section. For example, #16262 in https://github.com/astral-sh/ruff/releases/tag/0.9.7. On that note, this also changes the ordering such that any PR with both `server` and `bug` labels are in the "Bug fixes" section instead of the "Server" section. This is in line with how "Formatter" is done. I think it makes sense to instead prefix the entries with "Formatter:" and "Server:" if they're bug fixes. But, I'm happy to change this such that any PRs with `formatter` and `server` labels are always in their own section irrespective of other labels.
Configuration menu - View commit details
-
Copy full SHA for af62f79 - Browse repository at this point
Copy the full SHA af62f79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a23756 - Browse repository at this point
Copy the full SHA 4a23756View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d72138 - Browse repository at this point
Copy the full SHA 3d72138View commit details -
Configuration menu - View commit details
-
Copy full SHA for 091d0af - Browse repository at this point
Copy the full SHA 091d0afView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.9.8...0.9.9