Skip to content

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

Merged
epmog merged 1 commit into
mainlinefrom
dependabot/pip/ruff-eq-0.16.star
Aug 11, 2026
Merged

chore(deps): update ruff requirement from ==0.15.* to ==0.16.*#154
epmog merged 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.

  • 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.

  • 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

... (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 will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@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 03:14
@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[bot]
github-actions Bot previously approved these changes Jul 24, 2026
@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Jul 24, 2026
@epmog
epmog force-pushed the dependabot/pip/ruff-eq-0.16.star branch from 8710c68 to 786d91a Compare August 11, 2026 22:27
Comment thread src/deadline/vred_submitter/ui/components/constants.py Dismissed
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>
@epmog
epmog force-pushed the dependabot/pip/ruff-eq-0.16.star branch from 786d91a to eab051e Compare August 11, 2026 22:33
@epmog
epmog enabled auto-merge (squash) August 11, 2026 22:34
Comment thread pyproject.toml
[tool.ruff.lint]
ignore = ["E501"]

[tool.ruff.lint.per-file-ignores]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

These new suppressions appear to be no-ops: [tool.ruff.lint] only sets ignore = ["E501"] and never sets select / extend-select, so ruff runs with its default rule set (E4, E7, E9, F). None of N999, TRY002, BLE001, or B008 are in that set, so:

  • every entry in this per-file-ignores block ignores a rule that is never emitted,
  • [tool.ruff.lint.flake8-bugbear] extend-immutable-calls has nothing to affect (B008 is off),
  • the two new # noqa: BLE001 comments added in this PR (VRED_RenderScript_DeadlineCloud.py:531, ui/components/scene_settings_callbacks.py:131) suppress a rule that is not enabled.

The risk is that this reads as "these rules are enforced with documented exceptions," when in fact none of them are checked. Either add the corresponding rules to select (and then these suppressions become load-bearing), or drop the config block and the noqa markers so the file reflects what actually runs.

for mapping in data.get(self.PATH_MAPPING_RULES_FIELD)
]
except Exception as exc:
except (OSError, json.JSONDecodeError, TypeError) as exc:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Narrowing this from except Exception changes behavior for at least two reachable cases in the try body:

  • data.get(self.PATH_MAPPING_RULES_FIELD) returns None when the key is absent, and iterating None raises TypeError — covered. But if the value is a list of non-dicts (e.g. strings), PathMappingRule(**mapping) raises TypeError — also covered. If a mapping dict has extra/missing keys, PathMappingRule(**mapping) raises TypeError too. So far so good.
  • AttributeError is not covered: if the JSON top level is a list or scalar, data.get(...) raises AttributeError and now propagates out of load_path_mapping_rules.

AttributeError also escapes from self.render_parameters.PathMappingRulesFile if that parameter is absent from the render parameters dict (DynamicKeyValueObject only sets attributes present in the dict), which previously returned False and let rendering continue unmapped.

Since this is called from map_path (line 413) during init_file_references, an escaping exception now aborts the whole render via the outer handler rather than degrading to unmapped paths. Consider adding AttributeError to the tuple, or keeping the broad catch here.

@epmog
epmog merged commit cacef81 into mainline Aug 11, 2026
13 checks passed
@epmog
epmog deleted the dependabot/pip/ruff-eq-0.16.star branch August 11, 2026 22:56
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.

3 participants