updates workflows for black #1
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: Lint | |
on: [push] | |
jobs: | |
lint: | |
name: Check coding style | |
runs-on: ubuntu-latest | |
steps: | |
# clone repo and check out | |
- uses: actions/checkout@v3 | |
- name: Check that all Python code is linted with black | |
run: pip install black && black . --check |