django-reference-implementation
django-reference-implementation copied to clipboard
Bump ruff from 0.6.9 to 0.7.1
Bumps ruff from 0.6.9 to 0.7.1.
Release notes
Sourced from ruff's releases.
0.7.1
Release Notes
Preview features
- Fix
E221andE222to flag missing or extra whitespace around==operator (#13890)- Formatter: Alternate quotes for strings inside f-strings in preview (#13860)
- Formatter: Join implicit concatenated strings when they fit on a line (#13663)
- [
pylint] Restrictiteration-over-setto only work on sets of literals (PLC0208) (#13731)Rule changes
- [
flake8-type-checking] Support auto-quoting when annotations contain quotes (#11811)Server
- Avoid indexing the workspace for single-file mode (#13770)
Bug fixes
- Make
ARG002compatible withEM101when raisingNotImplementedError(#13714)Other changes
- Introduce more Docker tags for Ruff (similar to uv) (#13274)
Contributors
@Aditya-PS-05@AlexWaygood@Glyphack@Lexxxzy@MichaReiser@TomerBin@Watercycle@cake-monotone@carljm@dhruvmanila@diceroll123@mihaic@ndmitchell@pilleye@renovate@rtpg@samypr100@sharkdpInstall ruff 0.7.1
Install prebuilt binaries via shell script
... (truncated)
Changelog
Sourced from ruff's changelog.
0.7.1
Preview features
- Fix
E221andE222to flag missing or extra whitespace around==operator (#13890)- Formatter: Alternate quotes for strings inside f-strings in preview (#13860)
- Formatter: Join implicit concatenated strings when they fit on a line (#13663)
- [
pylint] Restrictiteration-over-setto only work on sets of literals (PLC0208) (#13731)Rule changes
- [
flake8-type-checking] Support auto-quoting when annotations contain quotes (#11811)Server
- Avoid indexing the workspace for single-file mode (#13770)
Bug fixes
- Make
ARG002compatible withEM101when raisingNotImplementedError(#13714)Other changes
- Introduce more Docker tags for Ruff (similar to uv) (#13274)
0.7.0
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
- The pytest rules
PT001andPT023now default to omitting the decorator parentheses when there are no arguments (#12838, #13292). This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part. See the blog post for more details.- The
useless-try-exceptrule (in ourtryceratopscategory) has been recoded fromTRY302toTRY203(#13502). This ensures Ruff's code is consistent with the same rule in thetryceratopslinter.- The
lint.allow-unused-importssetting has been removed (#13677). Uselint.pyflakes.allow-unused-importsinstead.Formatter preview style
- Normalize implicit concatenated f-string quotes per part (#13539)
Preview linter features
... (truncated)
Commits
337af83Bump version to 0.7.1 (#13913)113ce84Fixnormalizearguments whenfstring_formattingis disabled (#13910)7272f83Fix preview style name incan_omit_parenthesesto is_f_string_formatting_en...3eb4546[red-knot] Format mdtest Python snippets more concisely (#13905)77ae0cc[red-knot] Infer subscript expression types for bytes literals (#13901)73ee72bJoin implicit concatenated strings when they fit on a line (#13663)e402e27Use referencial equality intraversalhelper methods (#13895)de4181dRemove "default" remark fromruff check(#13900)2c57c2d[red-knot] Type narrowing forisinstancechecks (#13894)72c18c8Fix E221 and E222 to flag missing or extra whitespace around==operator (#...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)