build: optionally skip python black check by setting NMTST_SKIP_PYTHON_BLACK=1

This commit is contained in:
Thomas Haller 2020-06-19 12:36:49 +02:00
parent 9f77d26ad0
commit c537852231
No known key found for this signature in database
GPG Key ID: 29C2366E4DFC5728

View File

@ -5235,9 +5235,10 @@ CLEANFILES += \
###############################################################################
include Makefile.examples
if WITH_PYTHON_BLACK
check-python-black:
$(BLACK) --check $(top_srcdir)
test "$$NMTST_SKIP_PYTHON_BLACK" != 1 && $(BLACK) --check $(top_srcdir)
check_local += check-python-black
endif