Skip to content

Fix pre-commit (black 26) failure on main - #981

Merged
mwcraig merged 1 commit into
astropy:mainfrom
mwcraig:fix-black-init-docstring
Aug 22, 2026
Merged

Fix pre-commit (black 26) failure on main#981
mwcraig merged 1 commit into
astropy:mainfrom
mwcraig:fix-black-init-docstring

Conversation

@mwcraig

@mwcraig mwcraig commented Aug 22, 2026

Copy link
Copy Markdown
Member

pre-commit.ci has been red on `main` since the black 26.5.1 autoupdate in #919: black now wants a blank line after the module docstring in `ccdproc/init.py`. This is the only change it asks for; `pre-commit run --all-files` is clean with it.

The same one-line commit has been cherry-picked onto the open array-API PRs (#972#980) so they pass pre-commit.ci independently; the hunks are identical so they merge cleanly in any order.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DTN9DnPnLKK2u7knnMJ2gA

pre-commit.ci has been failing on main since the black 26.5.1 bump in
astropy#919 because black now requires a blank line after the module docstring
in ccdproc/__init__.py. This is the only formatting change it wants.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTN9DnPnLKK2u7knnMJ2gA
@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.83%. Comparing base (89e90f9) to head (8d91565).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #981   +/-   ##
=======================================
  Coverage   95.83%   95.83%           
=======================================
  Files           8        8           
  Lines        1631     1631           
=======================================
  Hits         1563     1563           
  Misses         68       68           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mwcraig
mwcraig merged commit f7a3a93 into astropy:main Aug 22, 2026
19 checks passed
@mwcraig
mwcraig deleted the fix-black-init-docstring branch August 22, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant