From c537852231a63431ee95ceb14968382e37e7aaea Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 19 Jun 2020 12:36:49 +0200 Subject: [PATCH] build: optionally skip python black check by setting NMTST_SKIP_PYTHON_BLACK=1 --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 71643080b0..db9f4c80c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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