Skip to content

chore(deps): update ruff requirement from ==0.15.* to ==0.16.* - #500

Closed
dependabot[bot] wants to merge 1 commit into
mainlinefrom
dependabot/pip/ruff-eq-0.16.star
Closed

chore(deps): update ruff requirement from ==0.15.* to ==0.16.*#500
dependabot[bot] wants to merge 1 commit into
mainlinefrom
dependabot/pip/ruff-eq-0.16.star

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown
Contributor

⚠️ 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.

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 Pull requests that update a dependency file python Pull requests that update Python code labels Jul 24, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 24, 2026 14:54
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 24, 2026
@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Jul 24, 2026
karthikbekalp
karthikbekalp previously approved these changes Jul 27, 2026
@karthikbekalp
karthikbekalp self-requested a review July 27, 2026 15:50
@dependabot
dependabot Bot force-pushed the dependabot/pip/ruff-eq-0.16.star branch from 2e3b9e6 to 9b1ca08 Compare July 27, 2026 21:47
github-actions[bot]
github-actions Bot previously approved these changes Jul 27, 2026
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [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:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@karthikbekalp
karthikbekalp dismissed stale reviews from github-actions[bot] and themself via 6a52a84 August 10, 2026 20:36
@karthikbekalp
karthikbekalp force-pushed the dependabot/pip/ruff-eq-0.16.star branch from 9b1ca08 to 6a52a84 Compare August 10, 2026 20:36
Comment thread pyproject.toml

[tool.ruff.lint]
# Keep the lint contract stable across Ruff upgrades; expand this set deliberately.
select = ["E4", "E7", "E9", "F"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pinning select makes the [tool.ruff.lint.isort] block below (lines 110-114) permanently dead config.

Ruff only applies [tool.ruff.lint.isort] settings when isort rules (I001/I002) are actually selected. They were not in Ruff 0.15's default set, and they are not in ["E4", "E7", "E9", "F"] either — so known-first-party = ["deadline", "openjd"] has never had an effect and, with the select set now explicitly pinned, never will on a future Ruff upgrade.

Before this change the block was only latently inert (a future default-set expansion could have activated it); now it is inert by construction. Worth resolving one way or the other so the config does not imply import-order enforcement that is not happening:

  • add "I" to select if import sorting is intended to be enforced (note this will likely flag existing files), or
  • drop the [tool.ruff.lint.isort] block.

Same situation applies to ignore = ["E501"] on line 108: E501 is not in E4/E7/E9/F, so the ignore is a no-op (line length is handled by black/line-length instead). Harmless, but similarly misleading.

@karthikbekalp

Copy link
Copy Markdown
Contributor

This PR creates unnecessary churn across the repo and I'm not sure if its useful. Closing this PR for now.

@dependabot @github

dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@karthikbekalp
karthikbekalp deleted the dependabot/pip/ruff-eq-0.16.star branch August 10, 2026 20:59
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 waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant