oe-python-template 0.2.4__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.copier-answers.yml +1 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.secrets.baseline +1 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/CHANGELOG.md +8 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/PKG-INFO +1 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/RELEASE_NOTES.md +7 -0
- oe_python_template-0.2.5/VERSION +1 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/bump +2 -3
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/conf.py +5 -5
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/examples/notebook.ipynb +1 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/examples/streamlit.py +1 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/noxfile.py +2 -5
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/pyproject.toml +2 -2
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/sonar-project.properties +1 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/src/oe_python_template/__init__.py +1 -2
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/src/oe_python_template/cli.py +1 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/src/oe_python_template/service.py +3 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/bump.jinja +2 -3
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/tests/cli_test.py +5 -4
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/uv.lock +1 -1
- oe_python_template-0.2.4/VERSION +0 -1
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.act-env +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.act-secret +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.devcontainer/Dockerfile +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.devcontainer/devcontainer.json +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.devcontainer/onCreateCommand +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.devcontainer/postAttachCommand +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.devcontainer/postCreateCommand +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.env.example +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.github/workflows/docker-image-build-publish.yml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.github/workflows/package-build-publish-release.yml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.github/workflows/test-and-report.yml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.gitignore +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.pre-commit-config.yaml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.python-version +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.readthedocs.yml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.vscode/extensions.json +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/.vscode/settings.json +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/CODEOWNERS +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/CONTRIBUTING.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/Dockerfile +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/LICENSE +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/README.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/SERVICE_CONNECTIONS.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/_readme_footer.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/_readme_header.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/_readme_main.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/bin/git-cliff +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/codecov.yml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/compose.yaml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/copier.yml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/Makefile +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/make.bat +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/_static/.keep +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/contributing.rst +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/index.rst +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/latexmkrc +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/main.rst +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/reference.rst +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/docs/source/release-notes.rst +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/examples/__init__.py +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/examples/jupyter.ipynb +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/examples/notebook.py +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/examples/script.py +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/CHANGELOG.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/LICENSE-MIT +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/README.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/_git-cliff +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/git-cliff-completions +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/git-cliff-mangen +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/github-action-run +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/latexmkrc +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/logo.png +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/reports/mypy.xml +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.act-env.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.act-secret.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/Dockerfile.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/devcontainer.json.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/onCreateCommand.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/postAttachCommand.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/postCreateCommand.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.env.example.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.github/workflows/docker-image-build-publish.yml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.github/workflows/package-build-publish-release.yml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.github/workflows/test-and-report.yml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.gitignore.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.pre-commit-config.yaml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.python-version +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.readthedocs.yml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.vscode/extensions.json +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.vscode/settings.json +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/CHANGELOG.md +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/CODEOWNERS.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/CONTRIBUTING.md.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/Dockerfile.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/LICENSE.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/SERVICE_CONNECTIONS.md.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/VERSION +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/_readme_footer.md.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/_readme_header.md.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/_readme_main.md.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/codecov.yml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/compose.yaml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/Makefile.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/make.bat.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/_static/.keep +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/conf.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/contributing.rst.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/index.rst.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/latexmkrc.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/main.rst.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/reference.rst.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/release-notes.rst.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/examples/__init__.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/examples/notebook.ipynb.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/examples/notebook.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/examples/script.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/examples/streamlit.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/github-action-run.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/latexmkrc.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/logo.png +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/noxfile.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/pyproject.toml.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/sonar-project.properties.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/tests/__init__.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/tests/cli_test.py.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/tests/fixtures/.keep +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/{{_copier_conf.answers_file}}.jinja +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/tests/__init__.py +0 -0
- {oe_python_template-0.2.4 → oe_python_template-0.2.5}/tests/fixtures/.keep +0 -0
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
[🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
|
|
2
2
|
|
|
3
|
-
## [0.2.
|
|
3
|
+
## [0.2.5](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.2.4..0.2.5) - 2025-03-07
|
|
4
|
+
|
|
5
|
+
### ⛰️ Features
|
|
6
|
+
|
|
7
|
+
- *(mypy)* Introduce static type checker mypy - ([ace8dc2](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/ace8dc241c44edfe5ef8e9dbe4f1db9dbc1b70af))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [0.2.4](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.2.3..v0.2.4) - 2025-03-07
|
|
4
11
|
|
|
5
12
|
### ⛰️ Features
|
|
6
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
[🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
|
|
2
2
|
|
|
3
|
+
## [0.2.5](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.2.4..v0.2.5) - 2025-03-07
|
|
4
|
+
|
|
5
|
+
### ⛰️ Features
|
|
6
|
+
|
|
7
|
+
- *(mypy)* Introduce static type checker mypy - ([ace8dc2](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/ace8dc241c44edfe5ef8e9dbe4f1db9dbc1b70af))
|
|
8
|
+
|
|
9
|
+
|
|
3
10
|
## [0.2.4](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.2.3..v0.2.4) - 2025-03-07
|
|
4
11
|
|
|
5
12
|
### ⛰️ Features
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.5
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
VERSION_PART=${1:-patch}
|
|
3
|
-
uv run bump-my-version bump "$VERSION_PART" && git push
|
|
4
3
|
if echo "$VERSION_PART" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then
|
|
5
|
-
uv run bump-my-version bump --new-version "$VERSION_PART"
|
|
4
|
+
uv run bump-my-version bump --new-version "$VERSION_PART" && git push
|
|
6
5
|
else
|
|
7
6
|
uv run bump-my-version bump "$VERSION_PART" && git push
|
|
8
|
-
fi
|
|
7
|
+
fi
|
|
@@ -25,7 +25,7 @@ extensions = [
|
|
|
25
25
|
project = "oe-python-template"
|
|
26
26
|
author = "Helmut Hoffer von Ankershoffen"
|
|
27
27
|
copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
|
|
28
|
-
version = "0.2.
|
|
28
|
+
version = "0.2.5"
|
|
29
29
|
release = version
|
|
30
30
|
github_username = "helmut-hoffer-von-ankershoffen"
|
|
31
31
|
github_repository = "oe-python-template"
|
|
@@ -74,11 +74,11 @@ html_static_path = ["_static"]
|
|
|
74
74
|
html_logo = "../../logo.png"
|
|
75
75
|
html_theme_options = {
|
|
76
76
|
"announcement": (
|
|
77
|
-
'<a target="_blank" href="https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template">GitHub</a> - '
|
|
78
|
-
'<a target="_blank" href="https://pypi.org/project/oe-python-template">PyPI</a> - '
|
|
79
|
-
'<a target="_blank" href="https://hub.docker.com/r/helmuthva/oe-python-template/tags">Docker</a> - '
|
|
77
|
+
'<a target="_blank" href="https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template">GitHub</a> - '
|
|
78
|
+
'<a target="_blank" href="https://pypi.org/project/oe-python-template">PyPI</a> - '
|
|
79
|
+
'<a target="_blank" href="https://hub.docker.com/r/helmuthva/oe-python-template/tags">Docker</a> - '
|
|
80
80
|
'<a target="_blank" href="https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template">SonarQube</a> - ' # noqa: E501
|
|
81
|
-
'<a target="_blank" href="https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template">Codecov</a>'
|
|
81
|
+
'<a target="_blank" href="https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template">Codecov</a>'
|
|
82
82
|
),
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -40,10 +40,7 @@ def lint(session: nox.Session) -> None:
|
|
|
40
40
|
"--check",
|
|
41
41
|
".",
|
|
42
42
|
)
|
|
43
|
-
session.run(
|
|
44
|
-
"mypy",
|
|
45
|
-
"src"
|
|
46
|
-
)
|
|
43
|
+
session.run("mypy", "src")
|
|
47
44
|
|
|
48
45
|
|
|
49
46
|
@nox.session(python=["3.13"])
|
|
@@ -112,6 +109,6 @@ def setup_dev(session: nox.Session) -> None:
|
|
|
112
109
|
session.run("git", "add", ".", external=True)
|
|
113
110
|
try:
|
|
114
111
|
session.run("pre-commit", external=True)
|
|
115
|
-
except Exception:
|
|
112
|
+
except Exception: # noqa: BLE001
|
|
116
113
|
session.log("pre-commit run failed, continuing anyway")
|
|
117
114
|
session.run("git", "add", ".", external=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "oe-python-template"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.5"
|
|
4
4
|
description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -213,7 +213,7 @@ source = ["src/"]
|
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
[tool.bumpversion]
|
|
216
|
-
current_version = "0.2.
|
|
216
|
+
current_version = "0.2.5"
|
|
217
217
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
218
218
|
serialize = ["{major}.{minor}.{patch}"]
|
|
219
219
|
search = "{current_version}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sonar.projectKey=helmut-hoffer-von-ankershoffen_oe-python-template
|
|
2
2
|
sonar.organization=helmut-hoffer-von-ankershoffen
|
|
3
|
-
sonar.projectVersion=0.2.
|
|
3
|
+
sonar.projectVersion=0.2.5
|
|
4
4
|
sonar.projectDescription=OE Python Template
|
|
5
5
|
sonar.links.homepage=https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"""Service of OE Python Template."""
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
+
|
|
4
5
|
from dotenv import load_dotenv
|
|
5
6
|
|
|
6
7
|
load_dotenv()
|
|
7
|
-
THE_VAR = os.getenv("THE_VAR","not defined")
|
|
8
|
+
THE_VAR = os.getenv("THE_VAR", "not defined")
|
|
9
|
+
|
|
8
10
|
|
|
9
11
|
class Service:
|
|
10
12
|
"""Service of OE Python Template."""
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
2
|
VERSION_PART=${1:-patch}
|
|
3
|
-
uv run bump-my-version bump "$VERSION_PART" && git push
|
|
4
3
|
if echo "$VERSION_PART" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then
|
|
5
|
-
uv run bump-my-version bump --new-version "$VERSION_PART"
|
|
4
|
+
uv run bump-my-version bump --new-version "$VERSION_PART" && git push
|
|
6
5
|
else
|
|
7
6
|
uv run bump-my-version bump "$VERSION_PART" && git push
|
|
8
|
-
fi
|
|
7
|
+
fi
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"""Tests to verify the CLI functionality of OE Python Template."""
|
|
2
2
|
|
|
3
|
-
import json
|
|
4
|
-
from unittest.mock import patch
|
|
5
|
-
|
|
6
3
|
import pytest
|
|
7
4
|
from typer.testing import CliRunner
|
|
8
5
|
|
|
@@ -13,11 +10,13 @@ from oe_python_template.cli import cli
|
|
|
13
10
|
|
|
14
11
|
BUILT_WITH_LOVE = "built with love in Berlin"
|
|
15
12
|
|
|
13
|
+
|
|
16
14
|
@pytest.fixture
|
|
17
15
|
def runner() -> CliRunner:
|
|
18
16
|
"""Provide a CLI test runner fixture."""
|
|
19
17
|
return CliRunner()
|
|
20
18
|
|
|
19
|
+
|
|
21
20
|
def test_cli_built_with_love(runner) -> None:
|
|
22
21
|
"""Check epilog shown."""
|
|
23
22
|
result = runner.invoke(cli, ["--help"])
|
|
@@ -25,12 +24,14 @@ def test_cli_built_with_love(runner) -> None:
|
|
|
25
24
|
assert BUILT_WITH_LOVE in result.output
|
|
26
25
|
assert __version__ in result.output
|
|
27
26
|
|
|
27
|
+
|
|
28
28
|
def test_cli_echo(runner: CliRunner) -> None:
|
|
29
29
|
"""Check hello world printed."""
|
|
30
|
-
result = runner.invoke(cli, ["echo","4711"])
|
|
30
|
+
result = runner.invoke(cli, ["echo", "4711"])
|
|
31
31
|
assert result.exit_code == 0
|
|
32
32
|
assert "4711" in result.output
|
|
33
33
|
|
|
34
|
+
|
|
34
35
|
def test_cli_hello_world(runner: CliRunner) -> None:
|
|
35
36
|
"""Check hello world printed."""
|
|
36
37
|
result = runner.invoke(cli, ["hello-world"])
|
oe_python_template-0.2.4/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.4
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/_git-cliff
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/_git-cliff.ps1
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/git-cliff.bash
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/git-cliff.elv
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/git-cliff-2.7.0/completions/git-cliff.fish
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/Dockerfile.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/devcontainer.json.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/onCreateCommand.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/postAttachCommand.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.devcontainer/postCreateCommand.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/.pre-commit-config.yaml.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/contributing.rst.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/reference.rst.jinja
RENAMED
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/docs/source/release-notes.rst.jinja
RENAMED
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/examples/notebook.ipynb.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/sonar-project.properties.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oe_python_template-0.2.4 → oe_python_template-0.2.5}/template/{{_copier_conf.answers_file}}.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|