Skip to content

Commit 1bb3af9

Browse files
committed
Update template files
1 parent 20ba6b2 commit 1bb3af9

File tree

17 files changed

+283
-251
lines changed

17 files changed

+283
-251
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM mcr.microsoft.com/vscode/devcontainers/python:3.9-bullseye
1+
FROM mcr.microsoft.com/devcontainers/python:2.0.2-3.13-trixie
22

3-
ENV PYTHONUNBUFFERED 1
3+
ENV PYTHONUNBUFFERED=1
44

55
# Update args in docker-compose.yaml to set the UID/GID of the "vscode" user.
66
ARG USER_UID=1000

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@
7070
},
7171
"features": {
7272
// details can be found here: https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker
73-
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
73+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {"moby": false}
7474
}
7575
}

.github/workflows/check_config_docs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
id: checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Common steps
1717
id: common
1818
uses: ghga-de/gh-action-common@v6
19+
with:
20+
python-version: '3.13'
1921

2022
- name: Check config docs
2123
id: check-config-docs

.github/workflows/check_pyproject.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
id: checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Common steps
1717
id: common
1818
uses: ghga-de/gh-action-common@v6
19+
with:
20+
python-version: '3.13'
1921

2022
- name: Check pyproject.toml
2123
id: check-pyproject

.github/workflows/check_readme.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
id: checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Common steps
1717
id: common
1818
uses: ghga-de/gh-action-common@v6
19+
with:
20+
python-version: '3.13'
1921

2022
- name: Check README
2123
id: check-readme

.github/workflows/check_template_files.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
id: checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

16-
- name: Set up Python 3.12
16+
- name: Set up Python 3.13
1717
id: setup-python
18-
uses: actions/setup-python@v5
18+
uses: actions/setup-python@v6
1919
with:
20-
python-version: '3.12'
20+
python-version: '3.13'
2121

2222
- name: Check template files
2323
id: check-template-files

.github/workflows/static_code_analysis.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
id: checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Common steps
1717
id: common
1818
uses: ghga-de/gh-action-common@v6
19+
with:
20+
python-version: '3.13'
1921

2022
- name: Run pre-commit
2123
uses: pre-commit/[email protected]

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
args: [--check]
2020
pass_filenames: false
2121
- repo: https://github.com/pre-commit/pre-commit-hooks
22-
rev: v4.4.0
22+
rev: v6.0.0
2323
hooks:
2424
- id: trailing-whitespace
2525
- id: end-of-file-fixer
@@ -45,13 +45,13 @@ repos:
4545
- id: no-commit-to-branch
4646
args: [--branch, dev, --branch, int, --branch, main]
4747
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: v0.11.13
48+
rev: v0.13.1
4949
hooks:
5050
- id: ruff
5151
args: [--fix, --exit-non-zero-on-fix]
5252
- id: ruff-format
5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: v1.16.0
54+
rev: v1.18.2
5555
hooks:
5656
- id: mypy
5757
args: [--no-warn-unused-ignores]

.pyproject_generation/pyproject_template.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ readme = "README.md"
77
authors = [
88
{ name = "German Human Genome Phenome Archive (GHGA)", email = "[email protected]" },
99
]
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = { text = "Apache 2.0" }
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",

.readme_generation/readme_template.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $config_description
5151
### Usage:
5252

5353
A template YAML for configuring the service can be found at
54-
[`./example-config.yaml`](./example-config.yaml).
54+
[`./example_config.yaml`](./example_config.yaml).
5555
Please adapt it, rename it to `.$shortname.yaml`, and place it in one of the following locations:
5656
- in the current working directory where you execute the service (on Linux: `./.$shortname.yaml`)
5757
- in your home directory (on Linux: `~/.$shortname.yaml`)
@@ -60,7 +60,7 @@ The config yaml will be automatically parsed by the service.
6060

6161
**Important: If you are using containers, the locations refer to paths within the container.**
6262

63-
All parameters mentioned in the [`./example-config.yaml`](./example-config.yaml)
63+
All parameters mentioned in the [`./example_config.yaml`](./example_config.yaml)
6464
could also be set using environment variables or file secrets.
6565

6666
For naming the environment variables, just prefix the parameter name with `${shortname}_`,
@@ -100,7 +100,7 @@ It installs the service with all development dependencies, and it installs pre-c
100100

101101
The installation is performed automatically when you build the devcontainer. However,
102102
if you update dependencies in the [`./pyproject.toml`](./pyproject.toml) or the
103-
[`./requirements-dev.txt`](./requirements-dev.txt), please run it again.
103+
[`lock/requirements-dev.txt`](./lock/requirements-dev.txt), please run it again.
104104

105105
## License
106106

@@ -109,5 +109,5 @@ This repository is free to use and modify according to the
109109

110110
## README Generation
111111

112-
This README file is auto-generated, please see [`readme_generation.md`](./readme_generation.md)
112+
This README file is auto-generated, please see [.readme_generation/README.md](./.readme_generation/README.md)
113113
for details.

0 commit comments

Comments
 (0)