Skip to content

chore(deps-dev): update ruff requirement from <0.16,>=0.15 to >=0.15,<0.17 in the python-dependencies group across 1 directory - #25

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dependencies-c784f51798
Closed

chore(deps-dev): update ruff requirement from <0.16,>=0.15 to >=0.15,<0.17 in the python-dependencies group across 1 directory#25
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dependencies-c784f51798

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on ruff to permit the latest version.
Updates ruff 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:

    import math  # ruff: ignore[F401]
    ruff: ignore[F401]
    import os

  • 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   math
    2 + import math
    3 | ```
      |
    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:

    import math  # ruff: ignore[F401]
    ruff: ignore[F401]
    import os

  • 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   math
    2 + import math
    3 | ```
      |
    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
  • a2635fd Bump 0.16.0 (#27136)
  • 3433449 [ty] Reuse full call diagnostics for implicit setter calls (#27115)
  • 2240070 Reflect ruff: ignore and --add-ignore stabilization in documentation (#27...
  • 17ef711 Stabilize --add-ignore (#27125)
  • ef912bb Add newly stabilized rules to defaults (#27055)
  • b30f040 Stabilize new default rules (#27035)
  • bcd70c5 Exclude Markdown files from format-dev runs (#27052)
  • 87e51e2 Fix format --check spans for syntax errors (#27045)
  • afe2723 [flake8-gettext] Stabilize qualified-name and built-in binding resolution (...
  • a9702d8 [flake8-bandit] Stabilize string literal binding resolution (S310) (#26944)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Dependency updates python Python dependency updates labels Aug 3, 2026
@dependabot
dependabot Bot requested a review from stepanov1975 as a code owner August 3, 2026 04:42
@dependabot dependabot Bot added dependencies Dependency updates python Python dependency updates labels Aug 3, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0430b5c016

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread pyproject.toml
"pytest>=8,<10",
"PyYAML>=6,<7",
"ruff>=0.15,<0.16",
"ruff>=0.15,<0.17",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bump the synchronized plugin version

Because this change modifies pyproject.toml, it falls under the repository's release-relevant paths and must include the synchronized version bump in plugin.yaml, pyproject.toml, and hermes_local_knowledge/__init__.py. As submitted, scripts/check_version_policy.py --base-ref 81b5c8ea125765e1b2341bfb57538c5eaaaa659d^ --head-ref 81b5c8ea125765e1b2341bfb57538c5eaaaa659d reports Release-relevant files changed without a plugin version bump, so the required version-policy gate will reject this dependency update.

Useful? React with 👍 / 👎.

Comment thread pyproject.toml
"pytest>=8,<10",
"PyYAML>=6,<7",
"ruff>=0.15,<0.16",
"ruff>=0.15,<0.17",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep Ruff defaults pinned before allowing 0.16

The CI job installs .[test] and then runs python -m ruff check . (.github/workflows/ci.yml:36-52), but this range lets pip select Ruff 0.16, whose migration notes say the default rules expand from 59 to 413 (https://astral.sh/blog/ruff-v0.16.0). This repo has no [tool.ruff.lint] select config, and the current tree already fails rules that are in Ruff's new default set (python -m ruff check --select BLE001,UP035,I001 . reports 47 errors), so after the version-policy issue is fixed the lint step will still fail unless the old defaults are explicitly selected or the new diagnostics are fixed/ignored.

Useful? React with 👍 / 👎.

@dependabot dependabot Bot changed the title chore(deps-dev): update ruff requirement from <0.16,>=0.15 to >=0.15,<0.17 in the python-dependencies group chore(deps-dev): update ruff requirement from <0.16,>=0.15 to >=0.15,<0.17 in the python-dependencies group across 1 directory Aug 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/python-dependencies-c784f51798 branch from 0430b5c to 56c072b Compare August 5, 2026 21:03
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.

Updates `ruff` 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.0...0.16.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.16.0
  dependency-type: direct:development
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/python-dependencies-c784f51798 branch from 56c072b to ac36b5e Compare August 5, 2026 21:11
@stepanov1975 stepanov1975 mentioned this pull request Aug 7, 2026
13 tasks
@stepanov1975

Copy link
Copy Markdown
Owner

Superseded by #26, which rebases the dependency update onto current main, preserves Ruff’s pre-0.16 default lint rules explicitly, and includes the repository-required synchronized version bump and release notes.

@dependabot @github

dependabot Bot commented on behalf of github Aug 7, 2026

Copy link
Copy Markdown
Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/pip/python-dependencies-c784f51798 branch August 7, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates python Python dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant