Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

tripactions/black-code-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Black Code Formatter GitHub Action

A GitHub action that runs black code formatter for Python.

Example action

name: Build

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
      with:
        lfs: false
    - name: Black Code Formatter
      uses: tripactions/black-code-formatter@21.4b1
      with:
        args: ". --check -l 100 -t py37"

For a full list of possible args checkout the black docs.

Based on the original lgeiger/black-action.

About

black-code-formatter

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors