lgeiger / black-action

A GitHub action that runs black code formatter for Python
MIT License
190 stars 35 forks source link

Black Code Formatter GitHub Action

A GitHub action that runs black code formatter for Python.

Example 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.