fix(backend): clear VIRTUAL_ENV before invoking pyright

Prevents a spurious warning when the shell's VIRTUAL_ENV points to a
different project's venv. Pyright detects the mismatch and warns; clearing
the variable inline forces pyright to resolve the venv from pyrightconfig.json.
This commit is contained in:
2026-02-28 19:43:40 +01:00
parent a8aa416ecb
commit 80d2dc0cb2

View File

@@ -1,5 +1,8 @@
.PHONY: help lint lint-fix format format-check type-check test test-cov validate clean install-dev sync check-docker install-e2e test-e2e test-e2e-schema test-all
# Prevent a stale VIRTUAL_ENV in the caller's shell from confusing uv
unexport VIRTUAL_ENV
# Default target
help:
@echo "🚀 FastAPI Backend - Development Commands"