baobabsoluciones/Black Code Format
Format Python code using Black and provide PR comments with results
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Sep 2, 2025
- License
- Apache 2.0
Pinned Snippet
uses: baobabsoluciones/check-formatting-python@358ffa931edc6b82fe4acac77c346814d7b48e33 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| python-version | Python version to use | no | 3.x |
| black-version | Black version to use | no | latest |
| black-args | Black arguments to use | no | --check |
| github-token | GitHub token for commenting on PRs | yes | ${{ github.token }} |
| paths | Paths to check (space-separated). Example: "src tests" | no | . |
| fail-on-error | Whether to fail the action if formatting issues are found | no | true |
| comment-mode | Mode of commenting (append, replace or none) | no | replace |
Outputs
no outputs