Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lgeiger/black-action
- Owner: lgeiger
- License: mit
- Created: 2019-02-12T18:15:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T11:43:40.000Z (over 3 years ago)
- Last Synced: 2024-10-06T02:05:44.446Z (about 1 month ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 190
- Watchers: 4
- Forks: 35
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).