Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2026

Bumps black from 25.11.0 to 25.12.0.

Release notes

Sourced from black's releases.

25.12.0

Please test out the draft 2026 style in version 26.1a1! This style will be finalized in the January release (26.1.0). Most of the changes in --preview will be in the 2026 stable style, but not all. Please share your feedback!

This release (25.12.0) will still produce the 2025 style.

Highlights

  • Black no longer supports running with Python 3.9 (#4842)

Stable style

  • Fix bug where comments preceding # fmt: off/# fmt: on blocks were incorrectly removed, particularly affecting Jupytext's # %% [markdown] comments (#4845)
  • Fix crash when multiple # fmt: skip comments are used in a multi-part if-clause, on string literals, or on dictionary entries with long lines (#4872)
  • Fix possible crash when fmt: directives aren't on the top level (#4856)

Preview style

  • Fix fmt: skip skipping the line after instead of the line it's on (#4855)
  • Remove unnecessary parentheses from the left-hand side of assignments while preserving magic trailing commas and intentional multiline formatting (#4865)
  • Fix fix_fmt_skip_in_one_liners crashing on with statements (#4853)
  • Fix fix_fmt_skip_in_one_liners crashing on annotated parameters (#4854)
  • Fix new lines being added after imports with # fmt: skip on them (#4894)

Packaging

  • Releases now include arm64 Windows binaries and wheels (#4814)

Integrations

  • Add output-file input to GitHub Action psf/black to write formatter output to a file for artifact capture and log cleanliness (#4824)
Changelog

Sourced from black's changelog.

25.12.0

Highlights

  • Black no longer supports running with Python 3.9 (#4842)

Stable style

  • Fix bug where comments preceding # fmt: off/# fmt: on blocks were incorrectly removed, particularly affecting Jupytext's # %% [markdown] comments (#4845)
  • Fix crash when multiple # fmt: skip comments are used in a multi-part if-clause, on string literals, or on dictionary entries with long lines (#4872)
  • Fix possible crash when fmt: directives aren't on the top level (#4856)

Preview style

  • Fix fmt: skip skipping the line after instead of the line it's on (#4855)
  • Remove unnecessary parentheses from the left-hand side of assignments while preserving magic trailing commas and intentional multiline formatting (#4865)
  • Fix fix_fmt_skip_in_one_liners crashing on with statements (#4853)
  • Fix fix_fmt_skip_in_one_liners crashing on annotated parameters (#4854)
  • Fix new lines being added after imports with # fmt: skip on them (#4894)

Packaging

  • Releases now include arm64 Windows binaries and wheels (#4814)

Integrations

  • Add output-file input to GitHub Action psf/black to write formatter output to a file for artifact capture and log cleanliness (#4824)
Commits
  • 782e560 Pin actions/checkout@v5.0.0 (#4895)
  • f0f4094 Fix new lines being added after imports with # fmt: skip on them (#4894)
  • 70fc194 Revert "Fix # fmt: skip ignored in deeply nested expressions" (#4893)
  • 7044b14 Prepare 25.12.0 release (#4891)
  • 5b470f0 Fix # fmt: skip ignored in deeply nested expressions (#4883)
  • 1b342ef Fix crash when multiple # fmt: skip comments are used in multi-part if-clau...
  • 7b265f1 Pin Hatch to hopefully fix Docker builds (#4878)
  • c9523f4 Attempt to fix Docker build failures (#4876)
  • 0f376e0 Fix crashes when fmt directives are indented (#4856)
  • a8bfcc1 Fix fmt: skip skipping the line after instead of the line it's on (#4855)
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 Jan 6, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 6, 2026 08:37
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

🤖 Claude Code Review

Code Review Report

Summary

This is a dependency version bump for black from 25.11.0 to 25.12.0 in the lint dependencies. This is a minimal, low-risk change.

Review Checklist Results

Code Quality

  • Code follows style guide - N/A for dependency version bumps. No code changes to evaluate.

  • No commented-out code - No commented code present in the diff.

  • Meaningful variable names - N/A for dependency changes.

  • DRY principle followed - N/A for dependency changes.

  • Identify Defects - No defects identified. This is a straightforward dependency version bump. Black 25.12.0 is a patch release that should maintain backward compatibility with 25.11.0. No logic errors, edge cases, or security vulnerabilities introduced.

  • Project memory configuration - No .claude/CLAUDE.md file found in the repository, so no additional project-specific guidelines to consider.

Testing

  • Unit tests for new functions - N/A - No new functions added.

  • Integration tests for new endpoints - N/A - No new endpoints added.

  • Edge cases covered - N/A - No functional changes.

  • ⚠️ Test coverage > 80% - Cannot verify from this diff alone. This dependency update should not affect test coverage, but it's recommended to run the linting suite after merging to ensure black 25.12.0 doesn't introduce any new formatting requirements.

Documentation

  • Readme updated if needed - Not required for patch-level dependency updates.

  • API docs updated - Not required for lint-only dependency updates.

  • Inline comments for complex logic - N/A - No code logic changes.

  • ⚠️ CHANGELOG.md updated - Not present in this diff. For dependency updates, especially security or breaking changes, CHANGELOG updates are recommended. However, for minor black version bumps, this may be handled in release notes rather than per-PR.

  • Markdown formatting - N/A - No markdown changes in this diff.

Security

  • No hardcoded credentials - None present.

  • Input validation implemented - N/A - No input handling changes.

  • Proper error handling - N/A - No error handling changes.

  • No sensitive data in logs - N/A - No logging changes.

  • No license files (.lic) or AQAAAD strings - None present in this diff.

Recommendations

  1. Verify formatting consistency: After merging, run black on the codebase to ensure the new version doesn't introduce formatting differences.

  2. Consider automated dependency updates: This appears to be a Dependabot-style automated update. Ensure CI/CD pipelines verify that lint checks pass with the new version.

  3. Low risk approval: This change is safe to merge as it only affects development/linting dependencies, not runtime code.

Overall Assessment

Status: ✅ APPROVED

This is a clean, minimal dependency update with no functional code changes. The update from black 25.11.0 to 25.12.0 is a patch release that should not introduce breaking changes. All security and code quality concerns are satisfied.

Files reviewed:

  • pyproject.toml:72 - Black version bump

Automated code review analyzing defects and coding standards

Bumps [black](https://github.com/psf/black) from 25.11.0 to 25.12.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@25.11.0...25.12.0)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 25.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/black-25.12.0 branch from 9d73f2c to f5d8426 Compare January 6, 2026 14:12
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

🤖 Claude Code Review

Code Review Analysis

Code Quality

Code follows style guide: The change is a simple dependency version bump in pyproject.toml which doesn't involve code style considerations.

No commented-out code: No commented code present in this diff.

Meaningful variable names: N/A - This is a dependency version update.

DRY principle followed: N/A - This is a dependency version update.

Identify Defects: No defects identified. This is a straightforward dependency upgrade from black==25.11.0 to black==25.12.0 in the lint dependencies group at pyproject.toml:72.

Project memory configuration: Checked for .claude/CLAUDE.md - this change is a simple dependency update that doesn't violate any project-specific guidelines.

Testing

⚠️ Unit tests for new functions: N/A - No new functions added. However, it would be prudent to verify that the Black version upgrade doesn't introduce formatting changes that break CI/CD pipelines.

Integration tests for new endpoints: N/A - No new endpoints.

Edge cases covered: N/A - Dependency update.

⚠️ Test coverage > 80%: Cannot determine from this diff. The change itself doesn't affect coverage, but the updated Black version might reformat existing code.

Documentation

⚠️ Readme updated if needed: No README update visible. For a minor version bump of a linting tool, this is typically acceptable as it's a development dependency.

API docs updated: N/A - No API changes.

Inline comments for complex logic: N/A - No code logic changes.

⚠️ CHANGELOG.md updated: Cannot verify if CHANGELOG.md was updated from this diff alone. Dependency updates are sometimes documented, sometimes not, depending on project policy.

Markdown formatting: N/A - No markdown files changed in this diff.

Security

No hardcoded credentials: No credentials present.

Input validation implemented: N/A - No input handling code.

Proper error handling: N/A - No error handling code.

No sensitive data in logs: N/A - No logging code.

No license files or AQAAAD strings: No license files or sensitive strings detected.


Summary

Overall Assessment: ✅ APPROVED

This is a clean dependency version bump from Black 25.11.0 to 25.12.0. The change is minimal, low-risk, and follows standard dependency management practices.

Recommendations:

  1. Verification Step: Run the Black formatter on the codebase to ensure the new version doesn't introduce unexpected formatting changes
  2. CI/CD Check: Ensure all linting checks pass with the new version before merging
  3. Optional: Consider adding a CHANGELOG entry if your project documents all dependency updates

No Critical Issues Found

The change is safe to merge after verifying that CI/CD pipelines pass successfully.

Automated code review analyzing defects and coding standards

@docktermj docktermj self-assigned this Jan 6, 2026
@docktermj docktermj enabled auto-merge (squash) January 6, 2026 14:32
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants