Skip to content

Bump ruff from 0.14.14 to 0.15.2 in /requirements#24537

Merged
eviljeff merged 2 commits into
masterfrom
dependabot/pip/requirements/ruff-0.15.2
Mar 3, 2026
Merged

Bump ruff from 0.14.14 to 0.15.2 in /requirements#24537
eviljeff merged 2 commits into
masterfrom
dependabot/pip/requirements/ruff-0.15.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 27, 2026

Copy link
Copy Markdown
Contributor

Bumps ruff from 0.14.14 to 0.15.2.

Release notes

Sourced from ruff's releases.

0.15.2

Release Notes

Released on 2026-02-19.

Preview features

Bug fixes

... (truncated)

Changelog

Sourced from ruff's changelog.

0.15.2

Released on 2026-02-19.

Preview features

... (truncated)

Commits

Dependabot compatibility score

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)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.14 to 0.15.2.
- [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.14...0.15.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 27, 2026
@eviljeff eviljeff self-assigned this Mar 3, 2026
@eviljeff

eviljeff commented Mar 3, 2026

Copy link
Copy Markdown
Member

I believe the fails we now see are due to astral-sh/ruff#21385

make ruff will fix them, making changes such as:

-        copy_file_to_backup_storage_mock.side_effect = (
-            lambda fpath, type_: os.path.basename(fpath)
+        copy_file_to_backup_storage_mock.side_effect = lambda fpath, type_: (
+            os.path.basename(fpath)

but it doesn't always respect line length (we set it to 88), so also makes changes which are longer:

-        self.copy_file_to_backup_storage_mock.side_effect = (
-            lambda fpath, type_: f'mock-backup-{os.path.basename(fpath)}'
+        self.copy_file_to_backup_storage_mock.side_effect = lambda fpath, type_: (
+            f'mock-backup-{os.path.basename(fpath)}'

Normally we'd be able to force this by wrapping in ( ... ) but that astral-sh/ruff#21385 appears to nullify that workaround...

Solutions:

@diox

diox commented Mar 3, 2026

Copy link
Copy Markdown
Member

I think we should do avoid super long variables where the reformat would break the line-length rule, while excluding linting where there is no other option...

@eviljeff eviljeff requested a review from diox March 3, 2026 15:38
@eviljeff eviljeff merged commit 501f01c into master Mar 3, 2026
44 checks passed
@eviljeff eviljeff deleted the dependabot/pip/requirements/ruff-0.15.2 branch March 3, 2026 16:23
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

2 participants