Repository navigation
Set up the Python venv with shell-neutral VS Code process tasks - #51
Merged
Merged
Conversation
The previous Windows command used PowerShell-only syntax and a bare relative pip path. Two process tasks now create .venv and install pip-requirements.txt with the venv's python -m pip, independent of the configured shell. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported, and the task updates preserve the lint dependency flow while enabling cross-platform virtual-environment setup.
No open issues 🎉
What changed in this PR
Updates the VS Code Python environment setup tasks to use shell-neutral process tasks across Windows and POSIX environments while preserving the existing lint dependency flow.
Changes:
- Adds a dedicated task to create the Python virtual environment.
- Installs dependencies through the virtual environment’s Python interpreter.
- Preserves
lint yaml’s dependency on environment setup.
| File | Description |
|---|---|
| .vscode/tasks.json | Defines cross-platform process tasks for creating and populating .venv while retaining the YAML lint integration. |
Review effort: Lite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the LintMark/Node.js-removal sweep. The
setup python venvVS Code task used PowerShell-only syntax on Windows and a bare relativepippath, which fails undercmd.exe. It is now twoprocesstasks (no shell involved):create python venvrunspython -m venv .venv, andsetup python venvruns the venv'spython -m pip install -r pip-requirements.txt.lint yamldepends on it as before.