Skip to content

Commit

Permalink
[MINOR] added github workflow for black formatter check
Browse files Browse the repository at this point in the history
  • Loading branch information
e-strauss committed Sep 24, 2024
1 parent 758e060 commit 23a3d0b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
pip install --upgrade pip
pip install --upgrade pip
pip install wheel
pip install numpy py4j scipy scikit-learn requests pandas unittest-parallel
pip install numpy py4j scipy scikit-learn requests pandas unittest-parallel black
- name: Build Python Package
run: |
Expand Down Expand Up @@ -132,3 +132,11 @@ jobs:
export PATH=$SYSTEMDS_ROOT/bin:$PATH
cd src/main/python
./tests/federated/runFedTest.sh
- name: Check formatting according to Black (src/main/python/systemds)
run: |
black --check --exclude operator/algorithm src/main/python/systemds
- name: Check formatting according to Black (src/main/python/tests)
run: |
black --check src/main/python/tests

0 comments on commit 23a3d0b

Please sign in to comment.