Commit Graph
6 Commits
Author SHA1 Message Date
priya-sundaram-devandChristian Clauss 5503767383 ci(devcontainer): Debian 13 Trixie + Python 3.14, Ruff settings, drop .vscode (keeper-safe .json-only) (#15162)
* ci(devcontainer): Debian 13 Trixie + Python 3.14, Ruff settings, drop .vscode

Bumps the base image to 3.14-trixie purely via devcontainer.json's
build.args.VARIANT (the Dockerfile's ARG reads it), so the Dockerfile
itself is untouched and keeps installing requirements + pipx pre-commit/ruff.

- VARIANT 3.13-bookworm -> 3.14-trixie (Debian 13, latest stable CPython).
- Replace removed python.linting.*/blackPath settings with Ruff format-on-save
  + fixAll/organizeImports (matches pre-commit and CI); add the Ruff extension.
- Delete .vscode/settings.json: pre-commit/Ruff cover this now.

Keeps the change to .json files only.

* ci(devcontainer): use prebuilt image instead of broken Dockerfile build

The devcontainer image build fails on main: the Dockerfile does
`COPY requirements.txt`, but that file was removed when the repo moved
its dependencies to pyproject.toml, so there is nothing to copy. Switch
devcontainer.json to pull the upstream mcr.microsoft.com/devcontainers/python
image and install pre-commit/ruff/uv in postCreateCommand. Fully within
.json so it stays keeper-safe; the now-unused Dockerfile can be dropped in
a follow-up once the keeper accepts the Dockerfile filename (#228).

* Update .devcontainer/devcontainer.json

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
2026-09-02 21:50:40 +02:00
Bertrand Awenze ed7c9b51f9 Fix devcontainer build failure (#12837)
* add post-installation script

* set zsh as default terminal and make post-install execution on postcreate

* rename file

* rename script

* Create devcontainers_ci.yml

* Update devcontainer.json

* Update devcontainers_ci.yml

Never push image built here. It's for build testing purpose only.

* postCreateCommand update to reflect that the shell script has been renamed.

* update devcontainer readme file

* trigger workflow only on devcontainer/** changes

* prettier refactor
2025-07-09 14:25:18 +02:00
Christian Clauss e9e7c96465 Create GitHub Pages docs with Sphinx (#11888) 2024-10-08 19:09:28 +02:00
Christian Clauss e60779c202 Upgrade our Devcontainer to Python 3.12 on Debian bookworm (#9580) 2023-10-03 23:04:59 +13:00
Christian Clauss 46454e204c [skip-ci] In .devcontainer/Dockerfile: pipx install pre-commit ruff (#8893)
[skip-ci] In .devcontainer/Dockerfile: pipx install pre-commit ruff
2023-07-28 18:54:45 +02:00
HManiac74Christian Clausspre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
b77e6adf3a Add Docker devcontainer configuration files (#8887)
* Added Docker container configuration files

* Update Dockerfile

Copy and install requirements

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Updated Docker devcontainer configuration

* Update requierements.txt

* Update Dockerfile

* Update Dockerfile

* Update .devcontainer/devcontainer.json

Co-authored-by: Christian Clauss <cclauss@me.com>

* Update Dockerfile

* Update Dockerfile. Add linebreak

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-07-25 22:23:20 +02:00