A GitHub action that runs black code formatter for Python

lgeiger lgeiger Last update: Mar 01, 2024

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.

Tags:

Subscribe to our newsletter