Created
March 16, 2021 15:56
-
-
Save thinkjrs/ead39a2a83e66b67beb15a776e078a56 to your computer and use it in GitHub Desktop.
Github Actions black from PSF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/black.yml | |
name: black -l 79 | |
on: [push] | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- uses: psf/black@stable # the default is equivalent to `black . --diff --check`. | |
with: | |
args: "application/ -l 79 --check" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment