Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ RUN echo 'eval "$(pixi completion -s bash)"' >> /home/vscode/.bashrc \

# Create .ssh directory with proper permissions for SSH config mounts
RUN mkdir -p /home/vscode/.ssh && chmod 700 /home/vscode/.ssh

# Create .config/gh directory for GitHub CLI config mounts
RUN mkdir -p /home/vscode/.config/gh
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"mounts": [
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume",
"source=${localEnv:HOME}/.ssh/known_hosts,target=/home/vscode/.ssh/known_hosts,type=bind,ro",
"source=${localEnv:HOME}/.ssh/config,target=/home/vscode/.ssh/config,type=bind,ro"
"source=${localEnv:HOME}/.ssh/config,target=/home/vscode/.ssh/config,type=bind,ro",
"source=${localEnv:HOME}/.config/gh,target=/home/vscode/.config/gh,type=bind"
],
"postCreateCommand": "sudo chown vscode .pixi && pixi install"
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"ms-python.vscode-pylance",
"jjjermiah.pixi-vscode",
"charliermarsh.ruff",
"tamasfe.even-better-toml",
"tamasfe.even-better-toml"
]
}
17 changes: 16 additions & 1 deletion pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ platforms = ["linux-64"]
python = ">=3.10"
shellcheck = ">=0.10.0,<0.11"
devpod = ">=0.8.0,<0.9"
gh = ">=2.63.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Consider adding an upper bound to the gh version for better reproducibility.

With only a lower bound, a future gh release could introduce breaking changes into the dev environment without any updates here. To keep dev containers reproducible and isolated from unexpected upstream changes, consider adding an upper bound (e.g. <3.0 or another range you’ve verified).

Suggested change
gh = ">=2.63.0"
gh = ">=2.63.0,<3.0"


[tool.pixi.feature.py310.dependencies]
python = "3.10.*"
Expand Down