A GitHub action that runs black code formatter for Python.
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.