Skip to content

Commit

Permalink
🔧 fix makefile setup
Browse files Browse the repository at this point in the history
  • Loading branch information
auredentan committed Aug 29, 2020
1 parent 5fdfaa1 commit 3419189
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ setup: ## Setup the development environment (install dependencies).
fi; \
fi; \
poetry install -v
pre-commit install

@if ! $(CI); then \
poetry run pre-commit install; \
fi;

.PHONY: format
format: ## Run formatting tools on the code.
@poetry run failprint -t "Formatting code" -- black $(PY_SRC)
Expand Down

0 comments on commit 3419189

Please sign in to comment.