Skip to content

Saleor Core: the high performance, composable, headless commerce API.

fix(devcontainer): different mypy version shadowing project's mypy (#18685)

Mikail6abcf39fcbc1
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index dee93b9fa9..9d2427ee12 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -24,3 +24,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --locked --no-install-project --no-editable
+
+# Removes the default 'mypy' installed by the base image as it clashes with the
+# version in uv.lock
+RUN pipx uninstall mypy