File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ command -v uv >/dev/null 2>&1 || pip install uv
2222source .venv/bin/activate
2323
2424# Install both backend extras so the devcontainer can exercise either connection path.
25- uv sync --group dev --extra pyodbc --extra mssql
25+ uv sync --all-extras
2626pre-commit install
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ THREADS ?= auto
44.PHONY : dev
55dev : # # Installs adapter in develop mode along with development dependencies
66 @\
7- uv pip install -e . --group dev && pre-commit install
7+ uv sync --all-extras && pre-commit install
88
99.PHONY : mypy
1010mypy : # # Runs mypy against staged changes for static type checking.
@@ -35,17 +35,17 @@ all: ## Runs all checks against staged changes.
3535.PHONY : unit
3636unit : # # Runs unit tests.
3737 @\
38- pytest -n auto -ra -v tests/unit
38+ uv run pytest -n auto -ra -v tests/unit
3939
4040.PHONY : functional
4141functional : # # Runs functional tests.
4242 @\
43- pytest -n $(THREADS ) -ra -v tests/functional
43+ uv run pytest -n $(THREADS ) -ra -v tests/functional
4444
4545.PHONY : test
4646test : # # Runs unit tests and code checks against staged changes.
4747 @\
48- pytest -n auto -ra -v tests/unit; \
48+ uv run pytest -n auto -ra -v tests/unit; \
4949 pre-commit run black-check --hook-stage manual | grep -v " INFO" ; \
5050 pre-commit run ruff-check-manual --hook-stage manual | grep -v " INFO" ; \
5151 pre-commit run mypy-check --hook-stage manual | grep -v " INFO"
You can’t perform that action at this time.
0 commit comments