Skip to content

Commit f78559d

Browse files
authored
291 update devcontainer (#292)
* Update devcontainer * introduce renovate * ignore .venv
1 parent b2ee593 commit f78559d

File tree

7 files changed

+38
-22
lines changed

7 files changed

+38
-22
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Python 3",
3-
"image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm",
3+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
4+
"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm",
45
"onCreateCommand": ".devcontainer/startup.sh",
56
"customizations": {
67
"vscode": {

.devcontainer/startup.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/bin/bash
2-
pipx install poetry
3-
poetry config virtualenvs.in-project true
4-
poetry install
5-
poetry run pre-commit install
2+
curl -LsSf https://astral.sh/uv/install.sh | sh
3+
uv sync -vv --frozen
File renamed without changes.
File renamed without changes.

.github/dependabot.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/renovate.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"automerge": true,
7+
"lockFileMaintenance": {
8+
"enabled": true,
9+
"schedule": [
10+
"on friday before 3pm"
11+
]
12+
},
13+
"pre-commit": {
14+
"enabled": true,
15+
"schedule": [
16+
"on the first day of the month before 6am"
17+
],
18+
"packageRules": [
19+
{
20+
"groupName": "pre-commit hooks",
21+
"groupSlug": "pre-commit",
22+
"labels": [
23+
"pre-commit",
24+
"dependencies"
25+
],
26+
"matchDepTypes": ["repository"]
27+
}
28+
]
29+
},
30+
"labels": [
31+
"renovate"
32+
]
33+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.task
1010
.pytest_cache
1111
.coverage
12+
.venv
1213

1314
.ipynb_checkpoints
1415
*/.ipynb_checkpoints/*

0 commit comments

Comments
 (0)