Commit 0866b5b
authored
⬆️ Bump ruff to v0.15.6 (#144)
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.5` → `==0.15.6` |

|

|
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.15.6`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0156)
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.15.5...0.15.6)
Released on 2026-03-12.
##### Preview features
- Add support for `lazy` import parsing
([#​23755](https://redirect.github.com/astral-sh/ruff/pull/23755))
- Add support for star-unpacking of comprehensions (PEP 798)
([#​23788](https://redirect.github.com/astral-sh/ruff/pull/23788))
- Reject semantic syntax errors for lazy imports
([#​23757](https://redirect.github.com/astral-sh/ruff/pull/23757))
- Drop a few rules from the preview default set
([#​23879](https://redirect.github.com/astral-sh/ruff/pull/23879))
- \[`airflow`] Flag `Variable.get()` calls outside of task execution
context (`AIR003`)
([#​23584](https://redirect.github.com/astral-sh/ruff/pull/23584))
- \[`airflow`] Flag runtime-varying values in DAG/task constructor
arguments (`AIR304`)
([#​23631](https://redirect.github.com/astral-sh/ruff/pull/23631))
- \[`flake8-bugbear`] Implement `delattr-with-constant` (`B043`)
([#​23737](https://redirect.github.com/astral-sh/ruff/pull/23737))
- \[`flake8-tidy-imports`] Add `TID254` to enforce lazy imports
([#​23777](https://redirect.github.com/astral-sh/ruff/pull/23777))
- \[`flake8-tidy-imports`] Allow users to ban lazy imports with `TID254`
([#​23847](https://redirect.github.com/astral-sh/ruff/pull/23847))
- \[`isort`] Retain `lazy` keyword when sorting imports
([#​23762](https://redirect.github.com/astral-sh/ruff/pull/23762))
- \[`pyupgrade`] Add `from __future__ import annotations` automatically
(`UP006`)
([#​23260](https://redirect.github.com/astral-sh/ruff/pull/23260))
- \[`refurb`] Support `newline` parameter in `FURB101` for Python 3.13+
([#​23754](https://redirect.github.com/astral-sh/ruff/pull/23754))
- \[`ruff`] Add `os-path-commonprefix` (`RUF071`)
([#​23814](https://redirect.github.com/astral-sh/ruff/pull/23814))
- \[`ruff`] Add unsafe fix for os-path-commonprefix (`RUF071`)
([#​23852](https://redirect.github.com/astral-sh/ruff/pull/23852))
- \[`ruff`] Limit `RUF036` to typing contexts; make it unsafe for
non-typing-only
([#​23765](https://redirect.github.com/astral-sh/ruff/pull/23765))
- \[`ruff`] Use starred unpacking for `RUF017` in Python 3.15+
([#​23789](https://redirect.github.com/astral-sh/ruff/pull/23789))
##### Bug fixes
- Fix `--add-noqa` creating unwanted leading whitespace
([#​23773](https://redirect.github.com/astral-sh/ruff/pull/23773))
- Fix `--add-noqa` breaking shebangs
([#​23577](https://redirect.github.com/astral-sh/ruff/pull/23577))
- \[formatter] Fix lambda body formatting for multiline calls and
subscripts
([#​23866](https://redirect.github.com/astral-sh/ruff/pull/23866))
- \[formatter] Preserve required annotation parentheses in annotated
assignments
([#​23865](https://redirect.github.com/astral-sh/ruff/pull/23865))
- \[formatter] Preserve type-expression parentheses in the formatter
([#​23867](https://redirect.github.com/astral-sh/ruff/pull/23867))
- \[`flake8-annotations`] Fix stack overflow in `ANN401` on quoted
annotations with escape sequences
([#​23912](https://redirect.github.com/astral-sh/ruff/pull/23912))
- \[`pep8-naming`] Check naming conventions in `match` pattern bindings
(`N806`, `N815`, `N816`)
([#​23899](https://redirect.github.com/astral-sh/ruff/pull/23899))
- \[`perflint`] Fix comment duplication in fixes (`PERF401`, `PERF403`)
([#​23729](https://redirect.github.com/astral-sh/ruff/pull/23729))
- \[`pyupgrade`] Properly trigger `super` change in nested class
(`UP008`)
([#​22677](https://redirect.github.com/astral-sh/ruff/pull/22677))
- \[`ruff`] Avoid syntax errors in `RUF036` fixes
([#​23764](https://redirect.github.com/astral-sh/ruff/pull/23764))
##### Rule changes
- \[`flake8-bandit`] Flag `S501` with `requests.request`
([#​23873](https://redirect.github.com/astral-sh/ruff/pull/23873))
- \[`flake8-executable`] Fix WSL detection in non-Docker containers
([#​22879](https://redirect.github.com/astral-sh/ruff/pull/22879))
- \[`flake8-print`] Ignore `pprint` calls with `stream=`
([#​23787](https://redirect.github.com/astral-sh/ruff/pull/23787))
##### Documentation
- Update docs for Markdown code block formatting
([#​23871](https://redirect.github.com/astral-sh/ruff/pull/23871))
- \[`flake8-bugbear`] Fix misleading description for `B904`
([#​23731](https://redirect.github.com/astral-sh/ruff/pull/23731))
##### Contributors
- [@​zsol](https://redirect.github.com/zsol)
- [@​carljm](https://redirect.github.com/carljm)
- [@​ntBre](https://redirect.github.com/ntBre)
- [@​Bortlesboat](https://redirect.github.com/Bortlesboat)
- [@​sososonia-cyber](https://redirect.github.com/sososonia-cyber)
- [@​chirizxc](https://redirect.github.com/chirizxc)
- [@​leandrobbraga](https://redirect.github.com/leandrobbraga)
- [@​11happy](https://redirect.github.com/11happy)
- [@​Acelogic](https://redirect.github.com/Acelogic)
- [@​anishgirianish](https://redirect.github.com/anishgirianish)
- [@​amyreese](https://redirect.github.com/amyreese)
- [@​xvchris](https://redirect.github.com/xvchris)
- [@​charliermarsh](https://redirect.github.com/charliermarsh)
- [@​getehen](https://redirect.github.com/getehen)
- [@​Dev-iL](https://redirect.github.com/Dev-iL)
</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/pythonkuma).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiOnJlY3ljbGU6IGRlcGVuZGVuY2llcyIsIjpzbmFrZTogcHl0aG9uIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 8059acf commit 0866b5b
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