Skip to content

Commit

Permalink
291 update devcontainer (#292)
Browse files Browse the repository at this point in the history
* Update devcontainer

* introduce renovate

* ignore .venv
  • Loading branch information
tschm authored Feb 5, 2025
1 parent b2ee593 commit f78559d
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.9-bookworm",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm",
"onCreateCommand": ".devcontainer/startup.sh",
"customizations": {
"vscode": {
Expand Down
6 changes: 2 additions & 4 deletions .devcontainer/startup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash
pipx install poetry
poetry config virtualenvs.in-project true
poetry install
poetry run pre-commit install
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync -vv --frozen
File renamed without changes.
File renamed without changes.
17 changes: 0 additions & 17 deletions .github/dependabot.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"automerge": true,
"lockFileMaintenance": {
"enabled": true,
"schedule": [
"on friday before 3pm"
]
},
"pre-commit": {
"enabled": true,
"schedule": [
"on the first day of the month before 6am"
],
"packageRules": [
{
"groupName": "pre-commit hooks",
"groupSlug": "pre-commit",
"labels": [
"pre-commit",
"dependencies"
],
"matchDepTypes": ["repository"]
}
]
},
"labels": [
"renovate"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
.task
.pytest_cache
.coverage
.venv

.ipynb_checkpoints
*/.ipynb_checkpoints/*
Expand Down

0 comments on commit f78559d

Please sign in to comment.