Skip to content

chore(deps-dev): bump ruff from 0.14.2 to 0.15.17 in the python-dependencies group across 1 directory#12

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dependencies-6541cb3808
Open

chore(deps-dev): bump ruff from 0.14.2 to 0.15.17 in the python-dependencies group across 1 directory#12
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dependencies-6541cb3808

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 5, 2026

Copy link
Copy Markdown
Contributor

Bumps the python-dependencies group with 1 update in the / directory: ruff.

Updates ruff from 0.14.2 to 0.15.17

Release notes

Sourced from ruff's releases.

0.15.17

Release Notes

Released on 2026-06-11.

Preview features

  • Allow human-readable names in suppression comments (#25614)
  • Fix handling of ignore comments within a disable/enable pair (#25845)
  • Prioritize human-readable names in CLI output (#25869)
  • Respect diagnostic start and parent ranges and trailing comments in ruff:ignore suppressions (#25673)
  • [flake8-async] Add trio.as_safe_channel to safe decorators (ASYNC119) (#25775)
  • [flake8-pytest-style] Also check pytest_asyncio fixtures (#25375)
  • [ruff] Ban pytest autouse fixtures (RUF076) (#25477)
  • [pyupgrade] Add from __future__ import annotations automatically (UP007, UP045) (#23259)

Bug fixes

  • Fix diagnostic when ruff:enable or ruff:disable appears where ruff:ignore is expected (#25700)
  • [pyupgrade] Preserve leading empty literals to avoid syntax errors (UP032) (#25491)

Rule changes

  • [flake8-pytest-style] Clarify diagnostic message for single parameters (PT007) (#25592)
  • [numpy] Drop autofix for np.in1d (NPY201) (#25612)
  • [pylint] Exempt Python version comparisons (PLR2004) (#25743)

Performance

  • Reserve AST Vecs with correct capacity for common cases (#25451)

Formatter

  • Preserve whitespace for Quarto cell option comments (#25641)

CLI

  • Allow rule names in ruff rule (#25640)

Other changes

  • Fix playground diagnostics scrollbars (#25642)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.15.17

Released on 2026-06-11.

Preview features

  • Allow human-readable names in suppression comments (#25614)
  • Fix handling of ignore comments within a disable/enable pair (#25845)
  • Prioritize human-readable names in CLI output (#25869)
  • Respect diagnostic start and parent ranges and trailing comments in ruff:ignore suppressions (#25673)
  • [flake8-async] Add trio.as_safe_channel to safe decorators (ASYNC119) (#25775)
  • [flake8-pytest-style] Also check pytest_asyncio fixtures (#25375)
  • [ruff] Ban pytest autouse fixtures (RUF076) (#25477)
  • [pyupgrade] Add from __future__ import annotations automatically (UP007, UP045) (#23259)

Bug fixes

  • Fix diagnostic when ruff:enable or ruff:disable appears where ruff:ignore is expected (#25700)
  • [pyupgrade] Preserve leading empty literals to avoid syntax errors (UP032) (#25491)

Rule changes

  • [flake8-pytest-style] Clarify diagnostic message for single parameters (PT007) (#25592)
  • [numpy] Drop autofix for np.in1d (NPY201) (#25612)
  • [pylint] Exempt Python version comparisons (PLR2004) (#25743)

Performance

  • Reserve AST Vecs with correct capacity for common cases (#25451)

Formatter

  • Preserve whitespace for Quarto cell option comments (#25641)

CLI

  • Allow rule names in ruff rule (#25640)

Other changes

  • Fix playground diagnostics scrollbars (#25642)

Contributors

... (truncated)

Commits
  • 7c645a9 Bump 0.15.17 (#25872)
  • f381eb1 Prioritize human-readable names in CLI output (#25869)
  • b9b4546 Minor workflow simplification (#25870)
  • 1e77ba0 [ty] Move PreformattedBlockScanner to format-agnostic location. (#25856)
  • 6f2b772 [ty] Preserve nominal type of enum.property instances (#25849)
  • be4777c [ty] Fix site-package error when multiple versions of pythons are installed i...
  • 53f6ff7 Allow human-readable names in suppression comments (#25614)
  • 6740325 [ty] Restrict uncached raw signature access (#25866)
  • 970b1bf Auto-update snapshots when syncing typeshed (#25841)
  • 0785793 Fix handling of ignore comments within a disable/enable pair (#25845)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 5, 2026
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

💩 屎山代码检测报告 允许合并

🎯 本次检测概览

「屎山刚开始发酵,臭味初显,但还能抢救」

维度 数据
屎山指数 41.23 / 100
屎山等级 轻度屎山级
检测时间 2026/6/13 06:15:10

🎭 整体印象

臭气扑鼻,建议佩戴口罩阅读

🧭 下一步

这代码像个叛逆期的青少年,需要适当管教才能成才


📥 详细数据

fuck-u-code 自动检测 · 本评论不代表人类观点

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

⚠️ 代码质量检查报告

发现部分文件需要格式化或存在代码问题,建议在本地运行 ruff format .ruff check --fix .

🖌️ 格式化: 9 个文件被重新格式化 (未变更: 80)
🛡️ 代码检查: 发现 6 个问题

  • 🛠️ 已自动修复: 4
  • ❌ 剩余未修复: 2
🔍 错误详情

```textF841 Local variable h is assigned to but never used
--> training/train_model.py:121:9
|
119 | rng = np.random.RandomState(0)
120 | d = self.d_model
121 | h = self.n_heads
| ^
122 | dh = self.d_head
123 | ff = self.d_ff
|
help: Remove assignment to unused variable `h`

F841 Local variable dh is assigned to but never used
--> training/train_model.py:122:9
|
120 | d = self.d_model
121 | h = self.n_heads
122 | dh = self.d_head
| ^^
123 | ff = self.d_ff
|
help: Remove assignment to unused variable dh

Found 6 errors (4 fixed, 2 remaining).
No fixes available (2 hidden fixes can be enabled with the --unsafe-fixes option).

</details>

Bumps the python-dependencies group with 1 update in the / directory: [ruff](https://github.com/astral-sh/ruff).


Updates `ruff` from 0.14.2 to 0.15.17
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.14.2...0.15.17)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.16
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps-dev): bump ruff from 0.14.2 to 0.15.16 in the python-dependencies group chore(deps-dev): bump ruff from 0.14.2 to 0.15.17 in the python-dependencies group across 1 directory Jun 12, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/python-dependencies-6541cb3808 branch from 4bac0dc to 9f8f8ed Compare June 12, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants