Skip to content

Commit

Permalink
Run black in CI
Browse files Browse the repository at this point in the history
Thanks to @sudoforge in #828 for this.
  • Loading branch information
trygveaa committed Mar 20, 2021
1 parent 373baec commit 9ab8a68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/wee-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' || (
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ verify_ssl = true
websocket-client = "*"

[dev-packages]
black = "*"
mock = "*"
pytest = "*"
flake8 = "*"

0 comments on commit 9ab8a68

Please sign in to comment.