diff --git a/.cruft.json b/.cruft.json index 85ede31..69d44d4 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/superlinear-ai/poetry-cookiecutter", - "commit": "b7f2fb0f123aae0a01d2ab015db31f52d2d8cc21", + "commit": "0b4edb2d3ea619bfc3b2ffd440e2e95ca997f0f2", "checkout": null, "context": { "cookiecutter": { @@ -26,4 +26,4 @@ } }, "directory": null -} \ No newline at end of file +} diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7d2fbb1..44e7131 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,8 +10,11 @@ "vscode": { "extensions": [ "charliermarsh.ruff", + "GitHub.copilot", + "GitHub.copilot-chat", "GitHub.vscode-github-actions", "GitHub.vscode-pull-request-github", + "ms-azuretools.vscode-docker", "ms-python.mypy-type-checker", "ms-python.python", "ms-toolsai.jupyter", @@ -38,6 +41,7 @@ 100 ], "files.autoSave": "onFocusChange", + "github.copilot.chat.edits.enabled": true, "jupyter.kernels.excludePythonEnvironments": [ "/usr/local/bin/python" ], diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 89bca28..90b12d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,10 +25,10 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 21 + node-version: 23 - name: Install @devcontainers/cli - run: npm install --location=global @devcontainers/cli@0.58.0 + run: npm install --location=global @devcontainers/cli@0.72.0 - name: Start Dev Container run: | @@ -42,6 +42,6 @@ jobs: run: devcontainer exec --workspace-folder . poe test - name: Upload coverage - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: files: reports/coverage.xml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1c4281..d87be9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ # https://pre-commit.com default_install_hook_types: [commit-msg, pre-commit] -default_stages: [commit, manual] +default_stages: [pre-commit, manual] fail_fast: true repos: - repo: meta diff --git a/Dockerfile b/Dockerfile index 04c115e..f06310a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ WORKDIR /workspaces/raglite/ -FROM base as poetry +FROM base AS poetry USER root @@ -59,7 +59,7 @@ RUN --mount=type=cache,uid=$UID,gid=$GID,target=/home/user/.cache/pypoetry/ \ -FROM poetry as dev +FROM poetry AS dev # Install development tools: curl, git, gpg, ssh, starship, sudo, vim, and zsh. USER root diff --git a/README.md b/README.md index c7caa4b..cd78d88 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/superlinear-ai/raglite) [![Open in GitHub Codespaces](https://img.shields.io/static/v1?label=GitHub%20Codespaces&message=Open&color=blue&logo=github)](https://github.com/codespaces/new/superlinear-ai/raglite) +[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE3IDE2VjdsLTYgNU0yIDlWOGwxLTFoMWw0IDMgOC04aDFsNCAyIDEgMXYxNGwtMSAxLTQgMmgtMWwtOC04LTQgM0gzbC0xLTF2LTFsMy0zIi8+PC9zdmc+)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/superlinear-ai/raglite) [![Open in GitHub Codespaces](https://img.shields.io/static/v1?label=GitHub%20Codespaces&message=Open&color=blue&logo=github)](https://github.com/codespaces/new/superlinear-ai/raglite) # 🥤 RAGLite