⬆ Bump ruff from 0.15.7 to 0.15.8 by dependabot[bot] · Pull Request #1834 · fastapi/sqlmodel
Bumps ruff from 0.15.7 to 0.15.8.
Release notes
Sourced from ruff's releases.
0.15.8
Release Notes
Released on 2026-03-26.
Preview features
- [
ruff] New ruleunnecessary-if(RUF050) (#24114)- [
ruff] New ruleuseless-finally(RUF072) (#24165)- [
ruff] New rulef-string-percent-format(RUF073): warn when using%operator on an f-string (#24162)- [
pyflakes] Recognizefrozendictas a builtin for Python 3.15+ (#24100)Bug fixes
- [
flake8-async] Use fully-qualifiedanyio.lowlevelimport in autofix (ASYNC115) (#24166)- [
flake8-bandit] Check tuple arguments for partial paths inS607(#24080)- [
pyflakes] Skipundefined-name(F821) for conditionally deleted variables (#24088)E501/W505/formatter: Exclude nested pragma comments from line width calculation (#24071)- Fix
%foo?parsing in IPython assignment expressions (#24152)analyze graph: resolve string imports that reference attributes, not just modules (#24058)Rule changes
- [
eradicate] ignorety: ignorecomments inERA001(#24192)- [
flake8-bandit] Treatsys.executableas trusted input inS603(#24106)- [
flake8-self] RecognizeSelfannotation andselfassignment inSLF001(#24144)- [
pyflakes]F507: Fix false negative for non-tuple RHS in%-formatting (#24142)- [
refurb] Parenthesize generator arguments inFURB142fixer (#24200)Performance
- Speed up diagnostic rendering (#24146)
Server
- Warn when Markdown files are skipped due to preview being disabled (#24150)
Documentation
- Clarify
extend-ignoreandextend-selectsettings documentation (#24064)- Mention AI policy in PR template (#24198)
Other changes
- Use trusted publishing for NPM packages (#24171)
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.15.8
Released on 2026-03-26.
Preview features
- [
ruff] New ruleunnecessary-if(RUF050) (#24114)- [
ruff] New ruleuseless-finally(RUF072) (#24165)- [
ruff] New rulef-string-percent-format(RUF073): warn when using%operator on an f-string (#24162)- [
pyflakes] Recognizefrozendictas a builtin for Python 3.15+ (#24100)Bug fixes
- [
flake8-async] Use fully-qualifiedanyio.lowlevelimport in autofix (ASYNC115) (#24166)- [
flake8-bandit] Check tuple arguments for partial paths inS607(#24080)- [
pyflakes] Skipundefined-name(F821) for conditionally deleted variables (#24088)E501/W505/formatter: Exclude nested pragma comments from line width calculation (#24071)- Fix
%foo?parsing in IPython assignment expressions (#24152)analyze graph: resolve string imports that reference attributes, not just modules (#24058)Rule changes
- [
eradicate] ignorety: ignorecomments inERA001(#24192)- [
flake8-bandit] Treatsys.executableas trusted input inS603(#24106)- [
flake8-self] RecognizeSelfannotation andselfassignment inSLF001(#24144)- [
pyflakes]F507: Fix false negative for non-tuple RHS in%-formatting (#24142)- [
refurb] Parenthesize generator arguments inFURB142fixer (#24200)Performance
- Speed up diagnostic rendering (#24146)
Server
- Warn when Markdown files are skipped due to preview being disabled (#24150)
Documentation
- Clarify
extend-ignoreandextend-selectsettings documentation (#24064)- Mention AI policy in PR template (#24198)
Other changes
- Use trusted publishing for NPM packages (#24171)
Contributors
... (truncated)
Commits
c2a8815Release 0.15.8 (#24217)d444d52[ty] Infer lambda expressions withCallabletype context (#22633)9622285[ty] Autocomplete arguments if in arguments node (#24167)d812662Use thereleaseenvironment inpublish-docs(#24214)eda2355[ty] ShowFinalsource in final assignment diagnostic (#24194)929eb52[ty] Enforce Final attribute assignment rules for annotated and augmented wri...34998be[ty] Fix typo in comment (#24211)560aca0[ty] Minor simplifications to some benchmark code (#24209)683bae5[ty] Track non-terminal-call constraints in global scope (#23245)4704c2a[ty] Remove unnecessary intermediate collection in `StaticClassLiteral::field...- 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 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)