Skip to content

Update pre-commit hook with updated version of black (26.1.0)#1740

Merged
sufikaur merged 2 commits intoIDAES:mainfrom
sufikaur:black-strageness
Mar 4, 2026
Merged

Update pre-commit hook with updated version of black (26.1.0)#1740
sufikaur merged 2 commits intoIDAES:mainfrom
sufikaur:black-strageness

Conversation

@sufikaur
Copy link
Contributor

@sufikaur sufikaur commented Feb 27, 2026

Fixes

Summary/Motivation:

.pre-commit-config.yaml has black set to older version 24.

Changes proposed in this PR:

  • Updating this hook now that the black upgrade has happened to 26.1.0

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

Copilot AI review requested due to automatic review settings February 27, 2026 23:11

This comment was marked as resolved.

@sufikaur sufikaur requested a review from ksbeattie as a code owner February 27, 2026 23:20
@sufikaur sufikaur changed the title check if black is messed up Magic Trailing Comma exploration and Missing Black update Feb 27, 2026
@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.84%. Comparing base (3b76abc) to head (0590099).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1740      +/-   ##
==========================================
- Coverage   73.85%   73.84%   -0.02%     
==========================================
  Files         406      406              
  Lines       66081    66081              
  Branches    11110    11110              
==========================================
- Hits        48803    48795       -8     
- Misses      14741    14745       +4     
- Partials     2537     2541       +4     

☔ View full report in Codecov by Sentry.
📢 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.

@sufikaur
Copy link
Contributor Author

sufikaur commented Feb 28, 2026

@ksbeattie found this remnant that you and ludovico changed once upon a time during the last black update #1388

@sufikaur sufikaur changed the title Magic Trailing Comma exploration and Missing Black update Update pre-commit hook with updated version of black (26.1.0) Mar 4, 2026
@sufikaur sufikaur merged commit 2934c76 into IDAES:main Mar 4, 2026
22 checks passed
@ksbeattie ksbeattie added the Priority:Low Low Priority Issue or PR label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority:Low Low Priority Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants