An open API service indexing awesome lists of open source software.

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

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/'
```