Skip to content

Commit 7bc6ee4

Browse files
committed
[MINOR] added black formatter check to github workflow
1 parent fddedcc commit 7bc6ee4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/python.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ jobs:
113113
opencv-python \
114114
torch \
115115
librosa \
116-
h5py
116+
h5py \
117+
black
117118
118119
- name: Build Python Package
119120
run: |
@@ -145,3 +146,11 @@ jobs:
145146
export PATH=$SYSTEMDS_ROOT/bin:$PATH
146147
cd src/main/python
147148
./tests/federated/runFedTest.sh
149+
150+
- name: Check formatting according to Black (src/main/python/systemds)
151+
run: |
152+
black --check --exclude operator/algorithm src/main/python/systemds
153+
154+
- name: Check formatting according to Black (src/main/python/tests)
155+
run: |
156+
black --check src/main/python/tests

0 commit comments

Comments
 (0)