Fix E221 and E222 to 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] Restrict iteration-over-set to 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 ARG002 compatible with EM101 when raising NotImplementedError (#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 PT001 and PT023 now 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-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the poetry group with 4 updates in the / directory: fastapi, pre-commit, ruff and uvicorn.
Updates
fastapi
from 0.115.3 to 0.115.4Release notes
Sourced from fastapi's releases.
... (truncated)
Commits
31887b1
🔖 Release version 0.115.4b270ff1
📝 Update release notesb31cbbf
♻️ Update logic to import and checkpython-multipart
for compatibility with...aee7674
📝 Update release notes4e6b1ac
📝 Update includes indocs/fr/docs/tutorial/body.md
(#12596)9b1e5f2
📝 Update release notes60aba02
📝 Update includes indocs/fr/docs/tutorial/debugging.md
(#12595)2a4cf17
📝 Update release notes453f559
📝 Update includes indocs/fr/docs/tutorial/query-params-str-validations.md
...af269cd
📝 Update release notesUpdates
pre-commit
from 3.8.0 to 4.0.1Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
Commits
cc4a522
v4.0.1772d7d4
Merge pull request #3324 from pre-commit/migrate-config-purelib222c62b
fix migrate-config for purelib yaml3d5548b
Merge pull request #3323 from pre-commit/pre-commit-ci-update-config4235a87
[pre-commit.ci] pre-commit autoupdatedbccd57
v4.0.0d07e529
Merge pull request #3320 from pre-commit/remove-python-venv801b956
remove deprecated python_venv aliasa2f7b80
Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-initd317223
add warning for deprecates stages for remote repos on initUpdates
ruff
from 0.6.9 to 0.7.1Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
337af83
Bump version to 0.7.1 (#13913)113ce84
Fixnormalize
arguments whenfstring_formatting
is disabled (#13910)7272f83
Fix preview style name incan_omit_parentheses
to 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)73ee72b
Join implicit concatenated strings when they fit on a line (#13663)e402e27
Use referencial equality intraversal
helper methods (#13895)de4181d
Remove "default" remark fromruff check
(#13900)2c57c2d
[red-knot] Type narrowing forisinstance
checks (#13894)72c18c8
Fix E221 and E222 to flag missing or extra whitespace around==
operator (#...Updates
uvicorn
from 0.31.1 to 0.32.0Release notes
Sourced from uvicorn's releases.
Changelog
Sourced from uvicorn's changelog.
Commits
fe39100
Version 0.32.0 (#2485)967a2dc
Support Python 3.13 (#2482)079f07a
feat(server): log warning when max request limit is exceeded (#2430)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show