-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Upgrade Ruff to 0.9.6 #1890
Open
DimitriPapadopoulos
wants to merge
5
commits into
pypa:master
Choose a base branch
from
DimitriPapadopoulos:ruff_0.9.1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Upgrade Ruff to 0.9.6 #1890
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d856a23
to
65c046e
Compare
The linter target should be Any clue how the target Python version is chosen? |
2b59862
to
78969b4
Compare
78969b4
to
e18a88e
Compare
ccb8542
to
c65f639
Compare
Run `python scripts/update_ruff.py`.
warning: `TCH001` has been remapped to `TC001`. warning: `TCH002` has been remapped to `TC002`. warning: `TCH003` has been remapped to `TC003`. warning: `TCH004` has been remapped to `TC004`. warning: `TCH005` has been remapped to `TC005`. warning: `TCH010` has been remapped to `TC010`. warning: `TRY302` has been remapped to `TRY203`.
RUF100 Unused `noqa` directive
185ba43
to
de04d74
Compare
The minimum Python version is Python 3.8. From `pyproject.toml`: requires-python = ">=3.8" However, `ruff.toml` shadows `pyproject.toml`, prompting ruff to use its own default target, which is currently Python 3.9.
de04d74
to
23df16d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
scripts/update_ruff.py
to update.