Skip to content

Commit 7ad7290

Browse files
committed
Run isort and black check in CI.
1 parent 53e6be4 commit 7ad7290

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,18 @@ jobs:
2020
with:
2121
python-version: "3.10"
2222

23-
- run: python -m pip install flake8==4.0.1 black==22.3.0 isort==5.10.1
24-
- name: flake8
23+
- name: "Install dependencies"
24+
run: python -m pip install flake8==4.0.1 black==22.3.0 isort==5.10.1
25+
26+
- name: "Run flake8"
2527
run: flake8
2628

29+
- name: "Run isort"
30+
run: isort --check .
31+
32+
- name: "Run black"
33+
run: black --check .
34+
2735
tests:
2836
name: "Python ${{ matrix.python-version }}"
2937
needs: lint

0 commit comments

Comments
 (0)