Skip to content

fix(deps): Update dependency black to v26#363

Merged
kodiakhq[bot] merged 3 commits intomainfrom
renovate/black-26.x
Feb 4, 2026
Merged

fix(deps): Update dependency black to v26#363
kodiakhq[bot] merged 3 commits intomainfrom
renovate/black-26.x

Conversation

@cq-bot
Copy link
Contributor

@cq-bot cq-bot commented Feb 1, 2026

This PR contains the following updates:

Package Update Change
black (changelog) major ==25.12.0 -> ==26.1.0

Release Notes

psf/black (black)

v26.1.0

Compare Source

Highlights

Introduces the 2026 stable style (#​4892), stabilizing the following changes:

  • always_one_newline_after_import: Always force one blank line after import
    statements, except when the line after the import is a comment or an import statement
    (#​4489)
  • fix_fmt_skip_in_one_liners: Fix # fmt: skip behavior on one-liner declarations,
    such as def foo(): return "mock" # fmt: skip, where previously the declaration would
    have been incorrectly collapsed (#​4800)
  • fix_module_docstring_detection: Fix module docstrings being treated as normal
    strings if preceded by comments (#​4764)
  • fix_type_expansion_split: Fix type expansions split in generic functions (#​4777)
  • multiline_string_handling: Make expressions involving multiline strings more compact
    (#​1879)
  • normalize_cr_newlines: Add \r style newlines to the potential newlines to
    normalize file newlines both from and to (#​4710)
  • remove_parens_around_except_types: Remove parentheses around multiple exception
    types in except and except* without as (#​4720)
  • remove_parens_from_assignment_lhs: Remove unnecessary parentheses from the left-hand
    side of assignments while preserving magic trailing commas and intentional multiline
    formatting (#​4865)
  • standardize_type_comments: Format type comments which have zero or more spaces
    between # and type: or between type: and value to # type: (value) (#​4645)

The following change was not in any previous stable release:

  • Regenerated the _width_table.py and added tests for the Khmer language (#​4253)

This release alo bumps pathspec to v1 and fixes inconsistencies with Git's
.gitignore logic (#​4958). Now, files will be ignored if a pattern matches them, even
if the parent directory is directly unignored. For example, Black would previously
format exclude/not_this/foo.py with this .gitignore:

exclude/
!exclude/not_this/

Now, exclude/not_this/foo.py will remain ignored. To ensure exclude/not_this/ and
all of it's children are included in formatting (and in Git), use this .gitignore:

*/exclude/*
!*/exclude/not_this/

This new behavior matches Git. The leading */ are only necessary if you wish to ignore
matching subdirectories (like the previous behavior did), and not just matching root
directories.

Output
  • Explicitly shutdown the multiprocessing manager when run in diff mode too (#​4952)
Integrations
  • Upgraded PyPI upload workflow to use Trusted Publishing (#​4611)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@erezrokah erezrokah requested a review from a team as a code owner February 4, 2026 11:47
@erezrokah erezrokah requested review from stoovon and removed request for a team February 4, 2026 11:47
@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label Feb 4, 2026
@cq-bot
Copy link
Contributor Author

cq-bot commented Feb 4, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@kodiakhq kodiakhq bot merged commit f51028f into main Feb 4, 2026
7 checks passed
@kodiakhq kodiakhq bot deleted the renovate/black-26.x branch February 4, 2026 11:55
kodiakhq bot pushed a commit that referenced this pull request Feb 4, 2026
🤖 I have created a release *beep* *boop*
---


## [0.1.52](v0.1.51...v0.1.52) (2026-02-04)


### Bug Fixes

* **deps:** Update dependency black to v26 ([#363](#363)) ([f51028f](f51028f))
* **deps:** Update dependency cloudquery-plugin-pb to v0.0.52 ([#369](#369)) ([734baa4](734baa4))
* **deps:** Update dependency numpy to v2.4.1 ([#360](#360)) ([a78bf2b](a78bf2b))
* **deps:** Update dependency packaging to v26 ([#364](#364)) ([3ced41a](3ced41a))
* **deps:** Update dependency pandas to v3 ([#365](#365)) ([21458ad](21458ad))
* **deps:** Update dependency pyarrow to v23 ([#366](#366)) ([c4a0c5a](c4a0c5a))
* **deps:** Update dependency pytest to v9 ([#367](#367)) ([c246344](c246344))
* **deps:** Update dependency tomli to v2.4.0 ([#361](#361)) ([e2e4941](e2e4941))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Add to automerge PRs once requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants