Skip to content

Commit dbd9d60

Browse files
⬆️ Bump ruff to v0.15.21 (#204)
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.20` → `==0.15.21` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.15.21?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.15.20/0.15.21?slim=true) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.15.21`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#01521) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.15.20...0.15.21) Released on 2026-07-09. ##### Preview features - Add `--add-ignore` for adding `ruff:ignore` comments ([#&#8203;26346](https://redirect.github.com/astral-sh/ruff/pull/26346)) - \[`flake8-comprehensions`] Drop `C409` tuple comprehension preview behavior ([#&#8203;25707](https://redirect.github.com/astral-sh/ruff/pull/25707)) - Avoid whitespace normalization when formatting comments ([#&#8203;26455](https://redirect.github.com/astral-sh/ruff/pull/26455)) - \[`pyupgrade`] Lint and fix use of deprecated `abc` decorators (`UP051`) ([#&#8203;26417](https://redirect.github.com/astral-sh/ruff/pull/26417)) ##### Bug fixes - Refine non-empty f-string detection ([#&#8203;26526](https://redirect.github.com/astral-sh/ruff/pull/26526)) - Detect syntax errors in individual notebook cells ([#&#8203;26419](https://redirect.github.com/astral-sh/ruff/pull/26419)) - \[`flake8-implicit-str-concat`] Fix `ISC003` autofix incorrectly stripping `+` from comments ([#&#8203;26554](https://redirect.github.com/astral-sh/ruff/pull/26554)) ##### Rule changes - \[`flake8-executable`] Mark `EXE004` fix as unsafe ([#&#8203;26033](https://redirect.github.com/astral-sh/ruff/pull/26033)) - \[`flake8-pyi`] Mark `PYI061` fixes as unsafe in Python files ([#&#8203;26533](https://redirect.github.com/astral-sh/ruff/pull/26533)) - \[`pydocstyle`] Skip `overload-with-docstring` in stub files (`D418`) ([#&#8203;26318](https://redirect.github.com/astral-sh/ruff/pull/26318)) ##### Performance - Avoid per-token source index visitor calls ([#&#8203;26506](https://redirect.github.com/astral-sh/ruff/pull/26506)) - Cache parenthesized expression boundaries in the formatter ([#&#8203;26344](https://redirect.github.com/astral-sh/ruff/pull/26344)) - Improve performance of rendering edits in preview mode ([#&#8203;26565](https://redirect.github.com/astral-sh/ruff/pull/26565)) - Inline `fits_element` in formatter ([#&#8203;26429](https://redirect.github.com/astral-sh/ruff/pull/26429)) - Inline formatter printing hot paths ([#&#8203;26504](https://redirect.github.com/astral-sh/ruff/pull/26504)) - Lazily create builtin bindings ([#&#8203;26510](https://redirect.github.com/astral-sh/ruff/pull/26510)) - Skip empty trivia scans in the source indexer ([#&#8203;26507](https://redirect.github.com/astral-sh/ruff/pull/26507)) - Use ICF for macOS release builds ([#&#8203;25780](https://redirect.github.com/astral-sh/ruff/pull/25780)) ##### Formatter - Add `--extend-exclude` to `ruff format` ([#&#8203;26372](https://redirect.github.com/astral-sh/ruff/pull/26372)) ##### Documentation - Add "How does Ruff's import sorting compare to isort?" link to README ([#&#8203;26530](https://redirect.github.com/astral-sh/ruff/pull/26530)) - Fix Mozilla Firefox repository link in README ([#&#8203;26537](https://redirect.github.com/astral-sh/ruff/pull/26537)) - \[`flake8-bandit`] Fix misleading docstring for `mako-templates` (`S702`) ([#&#8203;26432](https://redirect.github.com/astral-sh/ruff/pull/26432)) - \[`ruff`] Fix non-triggering example for `if-key-in-dict-del` (`RUF051`) ([#&#8203;26433](https://redirect.github.com/astral-sh/ruff/pull/26433)) ##### Contributors - [@&#8203;EkriirkE](https://redirect.github.com/EkriirkE) - [@&#8203;tingerrr](https://redirect.github.com/tingerrr) - [@&#8203;s-rigaud](https://redirect.github.com/s-rigaud) - [@&#8203;nikolauspschuetz](https://redirect.github.com/nikolauspschuetz) - [@&#8203;Avasam](https://redirect.github.com/Avasam) - [@&#8203;ntBre](https://redirect.github.com/ntBre) - [@&#8203;omar-y-abdi](https://redirect.github.com/omar-y-abdi) - [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood) - [@&#8203;sylvestre](https://redirect.github.com/sylvestre) - [@&#8203;shaanmajid](https://redirect.github.com/shaanmajid) - [@&#8203;lerebear](https://redirect.github.com/lerebear) - [@&#8203;baltasarblanco](https://redirect.github.com/baltasarblanco) - [@&#8203;Sanjays2402](https://redirect.github.com/Sanjays2402) - [@&#8203;ZedThree](https://redirect.github.com/ZedThree) - [@&#8203;servusdei2018](https://redirect.github.com/servusdei2018) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;jesco-absolute](https://redirect.github.com/jesco-absolut) - [@&#8203;velikodniy](https://redirect.github.com/velikodniy) - [@&#8203;zaniebot](https://redirect.github.com/zaniebot) - [@&#8203;epage](https://redirect.github.com/epage) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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/pythonkuma). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDIuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6cmVjeWNsZTogZGVwZW5kZW5jaWVzIiwiOnNuYWtlOiBweXRob24iXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d6d7435 commit dbd9d60

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
@@ -42,7 +42,7 @@ python = ["3.14", "3.13", "3.12"]
4242

4343
[tool.hatch.envs.default]
4444
dependencies = [
45-
"ruff==0.15.20",
45+
"ruff==0.15.21",
4646
"aiohttp==3.14.1",
4747
"prometheus-client==0.25.0",
4848
"mashumaro==3.22",
@@ -56,7 +56,7 @@ dependencies = [
5656

5757
[tool.hatch.envs.hatch-static-analysis]
5858
dependencies = [
59-
"ruff==0.15.20",
59+
"ruff==0.15.21",
6060
]
6161
config-path = "none"
6262

0 commit comments

Comments
 (0)