We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given:
from django.contrib.auth.models import AbstractBaseUser, AnonymousUser def foo( self, user: AbstractBaseUser | AnonymousUser, view: 'type[CondorBaseViewSet]' ): pass
Running cargo run -p ruff_cli -- check foo.py --select TCH --fix -n --unsafe-fixes fails due to assertion failed: start.raw <= end.raw.
cargo run -p ruff_cli -- check foo.py --select TCH --fix -n --unsafe-fixes
assertion failed: start.raw <= end.raw
The text was updated successfully, but these errors were encountered:
TCH
|
Deduplicate edits when quoting annotations (#9140)
6c224ce
If you have multiple sub-expressions that need to be quoted, we'll generate the same edit twice. Closes #9135.
charliermarsh
Successfully merging a pull request may close this issue.
Given:
Running
cargo run -p ruff_cli -- check foo.py --select TCH --fix -n --unsafe-fixes
fails due toassertion failed: start.raw <= end.raw
.The text was updated successfully, but these errors were encountered: