Skip to content

Add Black formatting to the Python Spotless checks#770

Open
HTHou wants to merge 1 commit intodevelopfrom
codex/spotless-black-python
Open

Add Black formatting to the Python Spotless checks#770
HTHou wants to merge 1 commit intodevelopfrom
codex/spotless-black-python

Conversation

@HTHou
Copy link
Copy Markdown
Contributor

@HTHou HTHou commented Apr 9, 2026

Summary

  • configure spotless-maven-plugin in the Python module to run black during validation
  • add black to the Python build requirements used by the module venv
  • reformat the existing Python sources, examples, and tests to match the enforced style

Testing

  • mvn -DskipTests validate in python/
  • mvn spotless:apply in python/

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.63%. Comparing base (3c809d5) to head (5e84d51).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #770      +/-   ##
===========================================
- Coverage    62.63%   62.63%   -0.01%     
===========================================
  Files          706      706              
  Lines        42688    42688              
  Branches      6296     6296              
===========================================
- Hits         26739    26738       -1     
  Misses       14963    14963              
- Partials       986      987       +1     

☔ 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.

@hongzhi-gao
Copy link
Copy Markdown
Contributor

Great PR!

@HTHou HTHou force-pushed the codex/spotless-black-python branch from 34337f5 to 5e84d51 Compare April 13, 2026 02:58
@jt2594838
Copy link
Copy Markdown
Contributor

jt2594838 commented Apr 13, 2026 via email

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.

5 participants