|
@@ -179,7 +179,12 @@ jobs:
|
|
sudo apt-get install -qq dos2unix recode clang-format-11
|
|
sudo apt-get install -qq dos2unix recode clang-format-11
|
|
sudo update-alternatives --remove-all clang-format
|
|
sudo update-alternatives --remove-all clang-format
|
|
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100
|
|
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100
|
|
|
|
+ python -m pip install black==22.3.0
|
|
|
|
|
|
- name: Style checks via clang-format
|
|
- name: Style checks via clang-format
|
|
run: |
|
|
run: |
|
|
bash ./misc/scripts/clang_format.sh
|
|
bash ./misc/scripts/clang_format.sh
|
|
|
|
+
|
|
|
|
+ - name: Python style checks via black (black_format.sh)
|
|
|
|
+ run: |
|
|
|
|
+ bash ./misc/scripts/black_format.sh
|