tests: fix checkstyle-python
[vpp.git] / test / Makefile
index b416bc3..08c6eab 100644 (file)
@@ -351,7 +351,7 @@ start-gdb: sanity
 .PHONY: checkstyle-python-all
 checkstyle-python-all: $(PIP_INSTALL_DONE)
        @bash -c "source $(VENV_PATH)/bin/activate &&\
-               black -t py39 --diff $(WS_ROOT) ||\
+               black -t py39 --check --diff $(WS_ROOT) ||\
                (echo \"*************************************************************************\" &&\
                echo \"* Test framework PEP8 compliance check FAILED (maybe: make fixstyle-python)\" &&\
                echo \"*************************************************************************\" &&\