Skip to content

Commit

Permalink
Ensure precommit is intalled during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mannerow committed Aug 18, 2024
1 parent 3e925d8 commit 340ec51
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 @@ -10,8 +10,10 @@ ECR_REPO ?= $(AWS_ACCOUNT_ID).dkr.ecr.$(TF_VAR_aws_region).amazonaws.com/$(IMAGE
# Local Setup
setup:
@echo "🚀 Setting up the environment..."
pip install pipenv==2024.0.1 && pipenv install --dev
pre-commit install
pip install pipenv==2024.0.1
pipenv install --dev
pipenv run pip install pre-commit
pipenv run pre-commit install

# Run pytest on the tests directory
test: setup
Expand Down

0 comments on commit 340ec51

Please sign in to comment.