aboutsummaryrefslogblamecommitdiff
path: root/.github/workflows/black.yml
blob: d64b7534650bef6655692f0f4f09fca09b60beea (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                 
 
                             
   

                        

                        

     









                                                                                        
name: Black Check

# Run action on PRs to master
on:
  pull_request:
    branches: [ master ]
  push:
    branches: [ master ]

jobs:
  suggest:
    runs-on: ubuntu-latest

    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so that black can inspect it
      - uses: actions/checkout@v2
      - uses: rgasper/python-black-pull-request-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          LINE_LENGTH: 88