From bbbc82368569246ebff0fbb66f64b03d1fe944e9 Mon Sep 17 00:00:00 2001 From: "TEAM 4.0[bot]" Date: Wed, 19 Nov 2025 06:51:06 +0000 Subject: [PATCH 1/2] Update `pre-commit` hooks --- .pre-commit-config.yaml | 8 ++++---- {{ cookiecutter.project_slug }}/.pre-commit-config.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d893cc..2e38197 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: # More information can be found in its source repository: # https://github.com/DavidAnson/markdownlint-cli2 - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.18.1 + rev: v0.19.0 hooks: - id: markdownlint-cli2 name: markdownlint @@ -54,7 +54,7 @@ repos: # Pyupgrade is a code upgrade tool # It works on files in-place - repo: https://github.com/asottile/pyupgrade - rev: v3.21.1 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py310-plus] @@ -81,7 +81,7 @@ repos: # More information can be found in its documentation: # https://docs.astral.sh/ruff/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.4 + rev: v0.14.5 hooks: - id: ruff-check name: ruff @@ -92,7 +92,7 @@ repos: # More information can be found in its documentation: # https://bandit.readthedocs.io/en/latest/ - repo: https://github.com/PyCQA/bandit - rev: 1.8.6 + rev: 1.9.1 hooks: - id: bandit args: ["-r"] diff --git a/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml b/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml index 9499e5e..861d096 100644 --- a/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml +++ b/{{ cookiecutter.project_slug }}/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: # More information can be found in its source repository: # https://github.com/DavidAnson/markdownlint-cli2 - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.18.1 + rev: v0.19.0 hooks: - id: markdownlint-cli2 name: markdownlint @@ -60,7 +60,7 @@ repos: # Pyupgrade is a code upgrade tool # It works on files in-place - repo: https://github.com/asottile/pyupgrade - rev: v3.21.1 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py310-plus] @@ -84,7 +84,7 @@ repos: # More information can be found in its documentation: # https://docs.astral.sh/ruff/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.4 + rev: v0.14.5 hooks: - id: ruff-check name: ruff @@ -94,7 +94,7 @@ repos: # More information can be found in its documentation: # https://bandit.readthedocs.io/en/latest/ - repo: https://github.com/PyCQA/bandit - rev: 1.8.6 + rev: 1.9.1 hooks: - id: bandit args: ["-r"] From 92a37239c182355ff7a12672f80b2ee11f96da44 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Wed, 19 Nov 2025 09:14:51 +0100 Subject: [PATCH 2/2] Conform to MD060 rule from markdownlint --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c652399..ce5bce0 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The list of input keys and default values can be found in [`cookiecutter.json`]( An overview is also provided in the following table: | Input key | Description | Default value | -|:---:|:--- |:--- | +| :---: | :--- | :--- | | `project_name` | A human-readable name of the project. | `OTEAPI My Plugin` | | `project_slug` | The official package name to be used when installing the package via a package manager (e.g., `pip` or `conda`).
This will be the root directory name and should also be the repository name on an online git repository (like GitHub or GitLab).

It is recommended to have the project slug start with `oteapi-`.

**Important**: A project slug value may *not* include white space. | `oteapi-myplugin` | | `package_name` | The Python importable root module.
This will be the root module repository name, under which the source code will be placed.

It is recommended to have the package name start with `oteapi_`.

**Important**: A package name value may *not* include white space. A package name value may *only* be made up of the character set: a-z, A-Z, `_`, 0-9, and may *not* start with a number. | `oteapi_myplugin` |