Commit dbd9d60
authored
⬆️ 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` |

|

|
---
### 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
([#​26346](https://redirect.github.com/astral-sh/ruff/pull/26346))
- \[`flake8-comprehensions`] Drop `C409` tuple comprehension preview
behavior
([#​25707](https://redirect.github.com/astral-sh/ruff/pull/25707))
- Avoid whitespace normalization when formatting comments
([#​26455](https://redirect.github.com/astral-sh/ruff/pull/26455))
- \[`pyupgrade`] Lint and fix use of deprecated `abc` decorators
(`UP051`)
([#​26417](https://redirect.github.com/astral-sh/ruff/pull/26417))
##### Bug fixes
- Refine non-empty f-string detection
([#​26526](https://redirect.github.com/astral-sh/ruff/pull/26526))
- Detect syntax errors in individual notebook cells
([#​26419](https://redirect.github.com/astral-sh/ruff/pull/26419))
- \[`flake8-implicit-str-concat`] Fix `ISC003` autofix incorrectly
stripping `+` from comments
([#​26554](https://redirect.github.com/astral-sh/ruff/pull/26554))
##### Rule changes
- \[`flake8-executable`] Mark `EXE004` fix as unsafe
([#​26033](https://redirect.github.com/astral-sh/ruff/pull/26033))
- \[`flake8-pyi`] Mark `PYI061` fixes as unsafe in Python files
([#​26533](https://redirect.github.com/astral-sh/ruff/pull/26533))
- \[`pydocstyle`] Skip `overload-with-docstring` in stub files (`D418`)
([#​26318](https://redirect.github.com/astral-sh/ruff/pull/26318))
##### Performance
- Avoid per-token source index visitor calls
([#​26506](https://redirect.github.com/astral-sh/ruff/pull/26506))
- Cache parenthesized expression boundaries in the formatter
([#​26344](https://redirect.github.com/astral-sh/ruff/pull/26344))
- Improve performance of rendering edits in preview mode
([#​26565](https://redirect.github.com/astral-sh/ruff/pull/26565))
- Inline `fits_element` in formatter
([#​26429](https://redirect.github.com/astral-sh/ruff/pull/26429))
- Inline formatter printing hot paths
([#​26504](https://redirect.github.com/astral-sh/ruff/pull/26504))
- Lazily create builtin bindings
([#​26510](https://redirect.github.com/astral-sh/ruff/pull/26510))
- Skip empty trivia scans in the source indexer
([#​26507](https://redirect.github.com/astral-sh/ruff/pull/26507))
- Use ICF for macOS release builds
([#​25780](https://redirect.github.com/astral-sh/ruff/pull/25780))
##### Formatter
- Add `--extend-exclude` to `ruff format`
([#​26372](https://redirect.github.com/astral-sh/ruff/pull/26372))
##### Documentation
- Add "How does Ruff's import sorting compare to isort?" link to README
([#​26530](https://redirect.github.com/astral-sh/ruff/pull/26530))
- Fix Mozilla Firefox repository link in README
([#​26537](https://redirect.github.com/astral-sh/ruff/pull/26537))
- \[`flake8-bandit`] Fix misleading docstring for `mako-templates`
(`S702`)
([#​26432](https://redirect.github.com/astral-sh/ruff/pull/26432))
- \[`ruff`] Fix non-triggering example for `if-key-in-dict-del`
(`RUF051`)
([#​26433](https://redirect.github.com/astral-sh/ruff/pull/26433))
##### Contributors
- [@​EkriirkE](https://redirect.github.com/EkriirkE)
- [@​tingerrr](https://redirect.github.com/tingerrr)
- [@​s-rigaud](https://redirect.github.com/s-rigaud)
-
[@​nikolauspschuetz](https://redirect.github.com/nikolauspschuetz)
- [@​Avasam](https://redirect.github.com/Avasam)
- [@​ntBre](https://redirect.github.com/ntBre)
- [@​omar-y-abdi](https://redirect.github.com/omar-y-abdi)
- [@​AlexWaygood](https://redirect.github.com/AlexWaygood)
- [@​sylvestre](https://redirect.github.com/sylvestre)
- [@​shaanmajid](https://redirect.github.com/shaanmajid)
- [@​lerebear](https://redirect.github.com/lerebear)
- [@​baltasarblanco](https://redirect.github.com/baltasarblanco)
- [@​Sanjays2402](https://redirect.github.com/Sanjays2402)
- [@​ZedThree](https://redirect.github.com/ZedThree)
- [@​servusdei2018](https://redirect.github.com/servusdei2018)
- [@​charliermarsh](https://redirect.github.com/charliermarsh)
- [@​jesco-absolute](https://redirect.github.com/jesco-absolut)
- [@​velikodniy](https://redirect.github.com/velikodniy)
- [@​zaniebot](https://redirect.github.com/zaniebot)
- [@​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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments