Skip to content

Commit 72e52b9

Browse files
committed
Incorporate black into Chime Lint and Test workflow
1 parent 9a2af78 commit 72e52b9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pythonapp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
jobs:
1616
build:
1717
runs-on: ubuntu-latest
18-
1918
steps:
2019
- uses: actions/checkout@v2
2120
- name: Set up Python 3.8
@@ -33,6 +32,11 @@ jobs:
3332
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3433
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3534
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
- name: Check formatting with black
36+
run: |
37+
# exit if any files still need formatting
38+
bash script/format --check
39+
continue-on-error: true
3640
- name: Test with pytest
3741
run: |
3842
pip install pytest

0 commit comments

Comments
 (0)