Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: py_venv macro improved defaults for usability (#396)
After testing real developer workflows in vscode, this way works correctly and is much more practical. Fixes #395 <img width="750" alt="Screenshot 2024-10-01 at 2 55 13 PM" src="https://github.com/user-attachments/assets/20a57379-8828-4a87-a7b9-6ab4feba2684"> --- ### Changes are visible to end-users: no ### Test plan Try a few things in VScode: 1. in the root, run `bazel run app:app_bin.venv` and see VSCode offers to open the resulting virtual env, labels it well 2. open the app folder in the editor, then run `bazel run app_bin.venv` which also is detected 3. run `bazel run app_test.venv` and the editor offers to switch 4. open a terminal in vscode and run `python -m pytest` and the tests run correctly, meaning they should also be debuggable
- Loading branch information