We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9633b0c commit 9ec9d24Copy full SHA for 9ec9d24
template/.devcontainer/postCreateCommand.ps1.jinja
@@ -0,0 +1,14 @@
1
+{% import 'platform' as platform %}
2
+{% if python and platform.system() == 'Windows' %}
3
+# Install uv
4
+Invoke-RestMethod https://astral.sh/uv/install.ps1 | Invoke-Expression
5
+
6
+# Install Dependencies
7
+uv sync --group dev
8
9
+# Install prek pre-commit hooks
10
+Invoke-RestMethod https://github.com/j178/prek/releases/download/v0.2.2/prek-installer.ps1 | Invoke-Expression
11
12
+# Install pre-commit hooks
13
+prek install --install-hooks
14
+{% endif %}
0 commit comments