Skip to content

build(deps): bump ruff from 0.15.20 to 0.16.0 - #89

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/pip/ruff-0.16.0
Aug 3, 2026
Merged

build(deps): bump ruff from 0.15.20 to 0.16.0#89
github-actions[bot] merged 2 commits into
mainfrom
dependabot/pip/ruff-0.16.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubAug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps ruff from 0.15.20 to 0.16.0.

Release notes

Sourced from ruff's releases.

0.16.0

Release Notes

Released on 2026-07-23.

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • Ruff now enables a much larger set of rules by default (413, up from 59). See the blog post for more details and the new Default Rules page for a full listing of the enabled rules. Note that this is primarily an expansion, but 18 of the more opinionated pycodestyle (E) and pyflakes (F) rules have been removed from the default set: E401, E402, E701, E702, E703, E711, E712, E713, E714, E721, E731, E741, E742, E743, F403, F405, F406, and F722.

  • Ruff can now format Python code blocks in Markdown files and will do this by default. See the documentation for more details.

  • Ruff now supports ruff: ignore comments at the ends of lines, like noqa comments, or on the line preceding a diagnostic. For example, these both suppress an unused-import (F401) diagnostic:

    importmath# ruff: ignore[F401]ruff: ignore[F401]
    importos

  • Fixes are now shown in check and format --check output:

    ruff format --check .unformatted: File would be reformatted --> try.md:1:1 |1 | ```python - import math2 + import math3 | ``` |1 file would be reformatted

    This example also shows off the Markdown formatting.

  • format --check now supports the same output formats as the linter, including the github and gitlab outputs for rendering annotations in CI:

    ruff format --check --output-format github .::error title=ruff (unformatted),file=try.md,line=2,col=8,endLine=2,endColumn=10::try.md:2:8: unformatted: File would be reformatted

    See the CLI help or documentation for the full list of supported formats.

  • The filename, location, end_location, fix.edits[].location, and fix.edits[].end_location fields in the JSON output format may now be null rather than defaulting to the empty string and row 1, column 1, respectively.

... (truncated)

Changelog

Sourced from ruff's changelog.

0.16.0

Released on 2026-07-23.

Check out the blog post for a migration guide and overview of the changes!

Breaking changes

  • Ruff now enables a much larger set of rules by default (413, up from 59). See the blog post for more details and the new Default Rules page for a full listing of the enabled rules. Note that this is primarily an expansion, but 18 of the more opinionated pycodestyle (E) and pyflakes (F) rules have been removed from the default set: E401, E402, E701, E702, E703, E711, E712, E713, E714, E721, E731, E741, E742, E743, F403, F405, F406, and F722.

  • Ruff can now format Python code blocks in Markdown files and will do this by default. See the documentation for more details.

  • Ruff now supports ruff: ignore comments at the ends of lines, like noqa comments, or on the line preceding a diagnostic. For example, these both suppress an unused-import (F401) diagnostic:

    importmath# ruff: ignore[F401]ruff: ignore[F401]
    importos

  • Fixes are now shown in check and format --check output:

    ruff format --check .unformatted: File would be reformatted --> try.md:1:1 |1 | ```python - import math2 + import math3 | ``` |1 file would be reformatted

    This example also shows off the Markdown formatting.

  • format --check now supports the same output formats as the linter, including the github and gitlab outputs for rendering annotations in CI:

... (truncated)

Commits

@github-actions
github-actionsBot enabled auto-merge (squash) August 1, 2026 17:52
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.20 to 0.16.0.
- [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.15.20...0.16.0)
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/pip/ruff-0.16.0 branch from 674636f to 49afd85CompareAugust 1, 2026 17:54
ruff 0.16.0 expands the default rule set (59 -> 413 rules), which newly
enables BLE001 (blind-except) among others. The repo pins no lint
selection, so `ruff check .` now fails CI.
Replace `except Exception as e: logger.error(e)` with
`except Exception: logger.exception(...)` in the sample listeners
(satisfies BLE001, avoids F841/TRY401, and now logs tracebacks), and
apply the import-sort/format fixes required by the expanded defaults.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@github-actions
github-actionsBot merged commit 41c1a73 into mainAug 3, 2026
6 checks passed
@github-actions
github-actionsBot deleted the dependabot/pip/ruff-0.16.0 branch August 3, 2026 16:41
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@WilliamBergamin