https://github.com/jpetrucciani/black-check
github action to run black
https://github.com/jpetrucciani/black-check
action black github-action hacktoberfest python style
Last synced: 6 months ago
JSON representation
github action to run black
- Host: GitHub
- URL: https://github.com/jpetrucciani/black-check
- Owner: jpetrucciani
- License: mit
- Created: 2019-10-02T16:50:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-09T22:50:57.000Z (6 months ago)
- Last Synced: 2025-04-09T23:34:14.237Z (6 months ago)
- Topics: action, black, github-action, hacktoberfest, python, style
- Language: Dockerfile
- Homepage:
- Size: 40 KB
- Stars: 27
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# black-check
GitHub Action for [black](https://github.com/psf/black)
## Inputs
### `path`
**Optional** The path to run black on
**Default** `"."`
### `black_flags`
**Optional** Optional black flags (refer to `black --help`)
**Default** `""`
## Outputs
None
## Example usage
```yaml
uses: jpetrucciani/black-check@master# or specify a path!
uses: jpetrucciani/black-check@master
with:
path: '.'# or specify more flags!
uses: jpetrucciani/black-check@master
with:
black_flags: '--exclude ./env/'
```