Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lgeiger/black-action

A GitHub action that runs black code formatter for Python
https://github.com/lgeiger/black-action

Last synced: about 1 month ago
JSON representation

A GitHub action that runs black code formatter for Python

Awesome Lists containing this project

README

        

# Black Code Formatter GitHub Action

A GitHub action that runs [black code formatter](https://github.com/ambv/black) for Python.

## Example Workflow

```workflow
workflow "Example Workflow" {
on = "push"
resolves = ["Lint"]
}

action "Lint" {
uses = "lgeiger/black-action@master"
args = ". --check"
}
```

For a full list of possible `args` checkout the [black docs](https://github.com/ambv/black#command-line-options).