aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/wee-slack.yml
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2021-03-20 13:41:55 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2021-03-20 13:58:39 +0100
commiteca1a5ae0202008a6685195e7c4e76ceae06f77a (patch)
treeb1ef45919f46c35e1852917c9518ccdf92e946da /.github/workflows/wee-slack.yml
parent373baece5094b5bedf10e08ea95d09be3619fd23 (diff)
downloadwee-slack-eca1a5ae0202008a6685195e7c4e76ceae06f77a.tar.gz
Run black check in CI
Thanks to @sudoforge in #828 for this. Closes #828
Diffstat (limited to '.github/workflows/wee-slack.yml')
-rw-r--r--.github/workflows/wee-slack.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/wee-slack.yml b/.github/workflows/wee-slack.yml
index 60facce..6a4275c 100644
--- a/.github/workflows/wee-slack.yml
+++ b/.github/workflows/wee-slack.yml
@@ -54,6 +54,10 @@ jobs:
# exit-zero treats all errors as warnings.
pipenv run flake8 . --exit-zero --select=C,E,F,W
+ - name: Check Python formatting
+ run: |
+ pipenv run black --check .
+
test:
if: >
github.event_name == 'push' || (