Skip to content

Commit b3c84ff

Browse files
authored
Update template and dependencies (#24)
1 parent 2b5183f commit b3c84ff

File tree

11 files changed

+1911
-1929
lines changed

11 files changed

+1911
-1929
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
"github.vscode-pull-request-github",
5050
"streetsidesoftware.code-spell-checker",
5151
"yzhang.markdown-all-in-one",
52-
"visualstudioexptteam.vscodeintellicode",
5352
"ymotongpoo.licenser",
5453
"charliermarsh.ruff",
5554
"ms-python.mypy-type-checker",
56-
"-ms-python.autopep8"
55+
"-ms-python.autopep8",
56+
"-visualstudioexptteam.vscodeintellicode"
5757
]
5858
}
5959
},

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.13.2
48+
rev: v0.14.9
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.18.2
54+
rev: v1.19.1
5555
hooks:
5656
- id: mypy
5757
args: [--no-warn-unused-ignores]

.pyproject_generation/pyproject_custom.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sms"
3-
version = "4.2.1"
3+
version = "4.2.2"
44
description = "State Management Service - Provides a REST API for basic infrastructure technology state management."
55
dependencies = [
66
"typer >= 0.19",

.readme_generation/readme_template.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $description
1313

1414
We recommend using the provided Docker container.
1515

16-
A pre-built version is available at [docker hub](https://hub.docker.com/repository/docker/ghga/$name):
16+
A pre-built version is available on [Docker Hub](https://hub.docker.com/repository/docker/ghga/$name):
1717
```bash
1818
docker pull ghga/$name:$version
1919
```
@@ -24,11 +24,11 @@ Or you can build the container yourself from the [`./Dockerfile`](./Dockerfile):
2424
docker build -t ghga/$name:$version .
2525
```
2626

27-
For production-ready deployment, we recommend using Kubernetes, however,
28-
for simple use cases, you could execute the service using docker
27+
For production-ready deployment, we recommend using Kubernetes.
28+
However for simple use cases, you could execute the service using docker
2929
on a single server:
3030
```bash
31-
# The entrypoint is preconfigured:
31+
# The entrypoint is pre-configured:
3232
docker run -p 8080:8080 ghga/$name:$version --help
3333
```
3434

@@ -50,18 +50,18 @@ $config_description
5050

5151
### Usage:
5252

53-
A template YAML for configuring the service can be found at
53+
A template YAML file for configuring the service can be found at
5454
[`./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`)
5858

59-
The config yaml will be automatically parsed by the service.
59+
The config YAML file will be automatically parsed by the service.
6060

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

6363
All parameters mentioned in the [`./example_config.yaml`](./example_config.yaml)
64-
could also be set using environment variables or file secrets.
64+
can also be set using environment variables or file secrets.
6565

6666
For naming the environment variables, just prefix the parameter name with `${shortname}_`,
6767
e.g. for the `host` set an environment variable named `${shortname}_host`
@@ -95,12 +95,12 @@ This will give you a full-fledged, pre-configured development environment includ
9595
- a pre-configured debugger
9696
- automatic license-header insertion
9797

98-
Moreover, inside the devcontainer, a command `dev_install` is available for convenience.
98+
Inside the devcontainer, a command `dev_install` is available for convenience.
9999
It installs the service with all development dependencies, and it installs pre-commit.
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-
[`lock/requirements-dev.txt`](./lock/requirements-dev.txt), please run it again.
103+
[`lock/requirements-dev.txt`](./lock/requirements-dev.txt), run it again.
104104

105105
## License
106106

0 commit comments

Comments
 (0)