@@ -9,7 +9,7 @@ COMPOSE_PROJECT_NAME ?= flagsmith-common
99
1010.PHONY : install-packages
1111install-packages : # # Install all required packages
12- uv sync $(opts )
12+ uv sync $(or $( opts ) ,'--all-extras' )
1313
1414.PHONY : install-pre-commit # # Install pre-commit hooks
1515install-pre-commit :
@@ -24,7 +24,7 @@ install: install-packages install-pre-commit ensure-dotenv ## Ensure the environ
2424
2525.PHONY : lint
2626lint : # # Run linters
27- uv run pre-commit run --all-files
27+ uv run --all-extras pre-commit run --all-files
2828
2929.PHONY : docker-up
3030docker-up : # # Start Docker containers
@@ -37,27 +37,26 @@ docker-down: ## Stop Docker containers
3737
3838.PHONY : test
3939test : docker-up # # Run all tests
40- uv run pytest $(opts )
40+ uv run --all-extras pytest $(opts )
4141
4242.PHONY : typecheck
4343typecheck : # # Run mypy
44- uv run mypy src tests
45-
44+ uv run --all-extras mypy src tests
4645.PHONY : django-make-migrations
4746django-make-migrations : # # Create new migrations based on the changes detected to your models
48- uv run python manage.py waitfordb
49- uv run python manage.py makemigrations $(opts )
47+ uv run --all-extras python manage.py waitfordb
48+ uv run --all-extras python manage.py makemigrations $(opts )
5049
5150.PHONY : django-squash-migrations
5251django-squash-migrations : # # Squash migrations for apps
53- uv run python manage.py waitfordb
54- uv run python manage.py squashmigrations $(opts )
52+ uv run --all-extras python manage.py waitfordb
53+ uv run --all-extras python manage.py squashmigrations $(opts )
5554
5655.PHONY : django-migrate
5756django-migrate : # # Apply migrations to the database
58- uv run python manage.py waitfordb
59- uv run python manage.py migrate
60- uv run python manage.py createcachetable
57+ uv run --all-extras python manage.py waitfordb
58+ uv run --all-extras python manage.py migrate
59+ uv run --all-extras python manage.py createcachetable
6160
6261help :
6362 @echo " Usage: make [target]"
0 commit comments