Merge pull request #64 from Hi-king/tox/whitelist_externals #33
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: YAPF Formatting Check | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
formatting-check: | |
name: Formatting Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
pip install toml yapf | |
- name: run YAPF to test if python code is correctly formatted | |
run: | | |
yapf --diff --recursive --verbose $GITHUB_WORKSPACE |