Skip to content

Commit

Permalink
Add isort and black
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwh committed Jun 7, 2024
1 parent f03b2d1 commit 65cb8de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: "Check formatting 1: black"
run: |
black --diff --check *client.py
black --diff --check incomfort*
- name: "Check formatting 2: isort"
run: |
isort --check --diff *client.py
isort --check --diff incomfort*
- name: Test with pytest
run: |
pytest

0 comments on commit 65cb8de

Please sign in to comment.