From 87d4e617f26f0660201a13528f70f90a5891c050 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Mon, 29 Jan 2024 10:31:26 -0800 Subject: [PATCH] makefile: Pin black version Black keeps updating in the background and breaking our CI due to slightly different formatting between versions. Fix this by pinning the version. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a8723b3..c69e001 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ all: deps lint man package install # Install dependent pip packages, needed to lint or build deps: - $(PYTHON) -m pip install black isort pylint mypy build twine pytest pytest-mock + $(PYTHON) -m pip install black==24.1.1 isort pylint mypy build twine pytest pytest-mock $(PYTHON) -m pip install . # Format using black