Add github action for black and flake8 #2
Workflow file for this run
This file contains 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
name: Black Check | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
jobs: | |
check: | |
name: Black Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install black | |
run: pip install black | |
- name: Run black | |
uses: rickstaa/action-black@v1 | |
with: | |
black_args: ". --check" |