Skip to content

Commit

Permalink
fix: always update black to latest version in fmt-fix and `fmt-ch…
Browse files Browse the repository at this point in the history
…eck`

Signed-off-by: Tony Chen <[email protected]>
  • Loading branch information
Nahemah1022 committed Jul 22, 2024
1 parent d50c223 commit 162dfef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ install-python-deps:
@pip3 install -r ./python/aistore/common_requirements

fmt-check: install-python-deps ## Check code formatting
@ [[ $$(black --help) ]] || pip3 install black[jupyter]
@pip3 install --upgrade black[jupyter] -q
@$(SHELL) "$(SCRIPTS_DIR)/bootstrap.sh" fmt

fmt-fix: ## Fix code formatting
@ [[ $$(black --help) ]] || pip3 install black[jupyter]
@pip3 install --upgrade black[jupyter] -q
@$(SHELL) "$(SCRIPTS_DIR)/bootstrap.sh" fmt --fix

spell-check: ## Run spell checker on the project
Expand Down

0 comments on commit 162dfef

Please sign in to comment.