Skip to content

Commit

Permalink
makefile: Pin black version
Browse files Browse the repository at this point in the history
Black keeps updating in the background and breaking our
CI due to slightly different formatting between versions.
Fix this by pinning the version.
  • Loading branch information
jerry-skydio committed Jan 29, 2024
1 parent 8009c60 commit 87d4e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87d4e61

Please sign in to comment.