Merge pull request #2108 from ia/py-diff

Makefile: add diff output for python linter if there are some warnings
This commit is contained in:
Ivan Zorin
2025-03-20 00:59:35 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ jobs:
run: python3 -m pip install --break-system-packages bdflib flake8
- name: Check python formatting with black
run: black --check Translations
run: black --diff --check Translations
- name: Check python with flake8
run: flake8 Translations

View File

@@ -164,7 +164,7 @@ test-py:
@echo "---- Checking python code... ----"
@echo ""
flake8 Translations
black --check Translations
black --diff --check Translations
@$(MAKE) -C source/ Objects/host/brieflz/libbrieflz.so
./Translations/brieflz_test.py
./Translations/make_translation_test.py