Skip to content

Commit f1d40e1

Browse files
Bump ruff to v0.15.8 (#208)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.15.7` → `==0.15.8` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.15.8?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.15.7/0.15.8?slim=true) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.15.8`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0158) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.15.7...0.15.8) Released on 2026-03-26. ##### Preview features - \[`ruff`] New rule `unnecessary-if` (`RUF050`) ([#&#8203;24114](https://redirect.github.com/astral-sh/ruff/pull/24114)) - \[`ruff`] New rule `useless-finally` (`RUF072`) ([#&#8203;24165](https://redirect.github.com/astral-sh/ruff/pull/24165)) - \[`ruff`] New rule `f-string-percent-format` (`RUF073`): warn when using `%` operator on an f-string ([#&#8203;24162](https://redirect.github.com/astral-sh/ruff/pull/24162)) - \[`pyflakes`] Recognize `frozendict` as a builtin for Python 3.15+ ([#&#8203;24100](https://redirect.github.com/astral-sh/ruff/pull/24100)) ##### Bug fixes - \[`flake8-async`] Use fully-qualified `anyio.lowlevel` import in autofix (`ASYNC115`) ([#&#8203;24166](https://redirect.github.com/astral-sh/ruff/pull/24166)) - \[`flake8-bandit`] Check tuple arguments for partial paths in `S607` ([#&#8203;24080](https://redirect.github.com/astral-sh/ruff/pull/24080)) - \[`pyflakes`] Skip `undefined-name` (`F821`) for conditionally deleted variables ([#&#8203;24088](https://redirect.github.com/astral-sh/ruff/pull/24088)) - `E501`/`W505`/formatter: Exclude nested pragma comments from line width calculation ([#&#8203;24071](https://redirect.github.com/astral-sh/ruff/pull/24071)) - Fix `%foo?` parsing in IPython assignment expressions ([#&#8203;24152](https://redirect.github.com/astral-sh/ruff/pull/24152)) - `analyze graph`: resolve string imports that reference attributes, not just modules ([#&#8203;24058](https://redirect.github.com/astral-sh/ruff/pull/24058)) ##### Rule changes - \[`eradicate`] ignore `ty: ignore` comments in `ERA001` ([#&#8203;24192](https://redirect.github.com/astral-sh/ruff/pull/24192)) - \[`flake8-bandit`] Treat `sys.executable` as trusted input in `S603` ([#&#8203;24106](https://redirect.github.com/astral-sh/ruff/pull/24106)) - \[`flake8-self`] Recognize `Self` annotation and `self` assignment in `SLF001` ([#&#8203;24144](https://redirect.github.com/astral-sh/ruff/pull/24144)) - \[`pyflakes`] `F507`: Fix false negative for non-tuple RHS in `%`-formatting ([#&#8203;24142](https://redirect.github.com/astral-sh/ruff/pull/24142)) - \[`refurb`] Parenthesize generator arguments in `FURB142` fixer ([#&#8203;24200](https://redirect.github.com/astral-sh/ruff/pull/24200)) ##### Performance - Speed up diagnostic rendering ([#&#8203;24146](https://redirect.github.com/astral-sh/ruff/pull/24146)) ##### Server - Warn when Markdown files are skipped due to preview being disabled ([#&#8203;24150](https://redirect.github.com/astral-sh/ruff/pull/24150)) ##### Documentation - Clarify `extend-ignore` and `extend-select` settings documentation ([#&#8203;24064](https://redirect.github.com/astral-sh/ruff/pull/24064)) - Mention AI policy in PR template ([#&#8203;24198](https://redirect.github.com/astral-sh/ruff/pull/24198)) ##### Other changes - Use trusted publishing for NPM packages ([#&#8203;24171](https://redirect.github.com/astral-sh/ruff/pull/24171)) ##### Contributors - [@&#8203;bitloi](https://redirect.github.com/bitloi) - [@&#8203;Sim-hu](https://redirect.github.com/Sim-hu) - [@&#8203;mvanhorn](https://redirect.github.com/mvanhorn) - [@&#8203;chinar-amrutkar](https://redirect.github.com/chinar-amrutkar) - [@&#8203;markjm](https://redirect.github.com/markjm) - [@&#8203;RenzoMXD](https://redirect.github.com/RenzoMXD) - [@&#8203;vivekkhimani](https://redirect.github.com/vivekkhimani) - [@&#8203;seroperson](https://redirect.github.com/seroperson) - [@&#8203;moktamd](https://redirect.github.com/moktamd) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;ntBre](https://redirect.github.com/ntBre) - [@&#8203;zanieb](https://redirect.github.com/zanieb) - [@&#8203;dylwil3](https://redirect.github.com/dylwil3) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tr4nt0r/pyloadapi). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45MS41IiwidXBkYXRlZEluVmVyIjoiNDMuOTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiOnJlY3ljbGU6IGRlcGVuZGVuY2llcyIsIjpzbmFrZTogcHl0aG9uIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent fb5b3ac commit f1d40e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies = [
5252
"pytest-asyncio==1.3.0",
5353
"pytest-cov==7.1.0",
5454
"pytest==9.0.2",
55-
"ruff==0.15.7"
55+
"ruff==0.15.8"
5656
]
5757

5858
[tool.hatch.envs.hatch-test]
@@ -68,7 +68,7 @@ type = "virtual"
6868

6969
[tool.hatch.envs.hatch-static-analysis]
7070
dependencies = [
71-
"ruff==0.15.7",
71+
"ruff==0.15.8",
7272
]
7373
config-path = "none"
7474

0 commit comments

Comments
 (0)