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 Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.51%. Comparing base (7d308fe) to head (34337f5).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #770   +/-   ##
========================================
  Coverage    62.51%   62.51%           
========================================
  Files          705      705           
  Lines        42569    42569           
  Branches      6289     6289           
========================================
  Hits         26614    26614           
  Misses       14987    14987           
  Partials       968      968           

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

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.

2 participants