actions-marketplace-validations/Python Blacken
Customisable GitHub action to use black to check Python code in your repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit May 20, 2024
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/piotrpawlaczek_python-blacken@c764e97de12914cb727fb4a81af607ba014bbe01 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| path | File or directory to run black on. | no | . |
| line-length | The number of characters allowed per line. | no | 88 |
| sanity-check | Sanity check [fast|safe] | no | safe |
| only-check | Only check the files instead of modify them [yes|no] | no | yes |
Outputs
| name | description |
|---|---|
| output | The output of black. |