oe-python-template 0.6.25__tar.gz → 0.6.27__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.6.25 → oe_python_template-0.6.27}/PKG-INFO +54 -52
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/README.md +53 -51
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/pyproject.toml +9 -3
- oe_python_template-0.6.25/.act-env-public +0 -1
- oe_python_template-0.6.25/.copier-answers.yml +0 -23
- oe_python_template-0.6.25/.devcontainer/Dockerfile +0 -7
- oe_python_template-0.6.25/.devcontainer/devcontainer.json +0 -51
- oe_python_template-0.6.25/.devcontainer/onCreateCommand +0 -9
- oe_python_template-0.6.25/.devcontainer/postAttachCommand +0 -4
- oe_python_template-0.6.25/.devcontainer/postCreateCommand +0 -4
- oe_python_template-0.6.25/.env.example +0 -1
- oe_python_template-0.6.25/.github/copilot-instructions.md +0 -5
- oe_python_template-0.6.25/.github/dependabot.yml +0 -13
- oe_python_template-0.6.25/.github/prompts/.keep +0 -0
- oe_python_template-0.6.25/.github/workflows/codeql.yml +0 -100
- oe_python_template-0.6.25/.github/workflows/docker-image-build-publish.yml +0 -93
- oe_python_template-0.6.25/.github/workflows/package-build-publish-release.yml +0 -63
- oe_python_template-0.6.25/.github/workflows/test-and-report.yml +0 -113
- oe_python_template-0.6.25/.pre-commit-config.yaml +0 -76
- oe_python_template-0.6.25/.python-version +0 -1
- oe_python_template-0.6.25/.readthedocs.yml +0 -36
- oe_python_template-0.6.25/.secrets.baseline +0 -127
- oe_python_template-0.6.25/.vscode/extensions.json +0 -27
- oe_python_template-0.6.25/.vscode/settings.json +0 -76
- oe_python_template-0.6.25/CHANGELOG.md +0 -624
- oe_python_template-0.6.25/CODEOWNERS +0 -3
- oe_python_template-0.6.25/CODE_STYLE.md +0 -284
- oe_python_template-0.6.25/CONTRIBUTING.md +0 -156
- oe_python_template-0.6.25/Dockerfile +0 -42
- oe_python_template-0.6.25/RELEASE_NOTES.md +0 -8
- oe_python_template-0.6.25/SECURITY.md +0 -60
- oe_python_template-0.6.25/SERVICE_CONNECTIONS.md +0 -85
- oe_python_template-0.6.25/VERSION +0 -1
- oe_python_template-0.6.25/bin/git-cliff +0 -0
- oe_python_template-0.6.25/codecov.yml +0 -11
- oe_python_template-0.6.25/compose.yaml +0 -35
- oe_python_template-0.6.25/copier.yml +0 -210
- oe_python_template-0.6.25/docs/Makefile +0 -20
- oe_python_template-0.6.25/docs/make.bat +0 -35
- oe_python_template-0.6.25/docs/partials/README_footer.md +0 -15
- oe_python_template-0.6.25/docs/partials/README_header.md +0 -37
- oe_python_template-0.6.25/docs/partials/README_main.md +0 -303
- oe_python_template-0.6.25/docs/source/_static/.keep +0 -0
- oe_python_template-0.6.25/docs/source/_static/openapi_v1.json +0 -262
- oe_python_template-0.6.25/docs/source/_static/openapi_v1.yaml +0 -188
- oe_python_template-0.6.25/docs/source/_static/openapi_v2.json +0 -262
- oe_python_template-0.6.25/docs/source/_static/openapi_v2.yaml +0 -188
- oe_python_template-0.6.25/docs/source/api_v1.rst +0 -9
- oe_python_template-0.6.25/docs/source/api_v1.rst.jinja +0 -9
- oe_python_template-0.6.25/docs/source/api_v2.rst +0 -9
- oe_python_template-0.6.25/docs/source/api_v2.rst.jinja +0 -9
- oe_python_template-0.6.25/docs/source/code-style.rst +0 -1
- oe_python_template-0.6.25/docs/source/conf.py +0 -128
- oe_python_template-0.6.25/docs/source/contributing.rst +0 -1
- oe_python_template-0.6.25/docs/source/index.rst +0 -40
- oe_python_template-0.6.25/docs/source/latexmkrc +0 -11
- oe_python_template-0.6.25/docs/source/main.rst +0 -1
- oe_python_template-0.6.25/docs/source/reference.rst +0 -5
- oe_python_template-0.6.25/docs/source/release-notes.rst +0 -4
- oe_python_template-0.6.25/docs/source/security.rst +0 -1
- oe_python_template-0.6.25/examples/__init__.py +0 -1
- oe_python_template-0.6.25/examples/notebook.ipynb +0 -46
- oe_python_template-0.6.25/examples/notebook.py +0 -18
- oe_python_template-0.6.25/examples/script.py +0 -13
- oe_python_template-0.6.25/examples/streamlit.py +0 -30
- oe_python_template-0.6.25/git-cliff-2.7.0/CHANGELOG.md +0 -1513
- oe_python_template-0.6.25/git-cliff-2.7.0/LICENSE-APACHE +0 -176
- oe_python_template-0.6.25/git-cliff-2.7.0/LICENSE-MIT +0 -22
- oe_python_template-0.6.25/git-cliff-2.7.0/README.md +0 -95
- oe_python_template-0.6.25/git-cliff-2.7.0/completions/_git-cliff +0 -86
- oe_python_template-0.6.25/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -84
- oe_python_template-0.6.25/git-cliff-2.7.0/completions/git-cliff.bash +0 -190
- oe_python_template-0.6.25/git-cliff-2.7.0/completions/git-cliff.elv +0 -78
- oe_python_template-0.6.25/git-cliff-2.7.0/completions/git-cliff.fish +0 -39
- oe_python_template-0.6.25/git-cliff-2.7.0/git-cliff-completions +0 -0
- oe_python_template-0.6.25/git-cliff-2.7.0/git-cliff-mangen +0 -0
- oe_python_template-0.6.25/git-cliff-2.7.0/man/git-cliff.1 +0 -214
- oe_python_template-0.6.25/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
- oe_python_template-0.6.25/github-action-run +0 -5
- oe_python_template-0.6.25/logo.png +0 -0
- oe_python_template-0.6.25/n +0 -28
- oe_python_template-0.6.25/noxfile.py +0 -235
- oe_python_template-0.6.25/renovate.json +0 -9
- oe_python_template-0.6.25/reports/.keep +0 -0
- oe_python_template-0.6.25/sonar-project.properties +0 -12
- oe_python_template-0.6.25/template/.act-env-public.jinja +0 -1
- oe_python_template-0.6.25/template/.devcontainer/Dockerfile.jinja +0 -7
- oe_python_template-0.6.25/template/.devcontainer/devcontainer.json.jinja +0 -51
- oe_python_template-0.6.25/template/.devcontainer/onCreateCommand.jinja +0 -9
- oe_python_template-0.6.25/template/.devcontainer/postAttachCommand.jinja +0 -4
- oe_python_template-0.6.25/template/.devcontainer/postCreateCommand.jinja +0 -4
- oe_python_template-0.6.25/template/.env.example.jinja +0 -1
- oe_python_template-0.6.25/template/.github/copilot-instructions.md +0 -5
- oe_python_template-0.6.25/template/.github/dependabot.yml +0 -13
- oe_python_template-0.6.25/template/.github/workflows/codeql.yml +0 -100
- oe_python_template-0.6.25/template/.github/workflows/docker-image-build-publish.yml.jinja +0 -98
- oe_python_template-0.6.25/template/.github/workflows/package-build-publish-release.yml.jinja +0 -63
- oe_python_template-0.6.25/template/.github/workflows/test-and-report.yml.jinja +0 -113
- oe_python_template-0.6.25/template/.gitignore.jinja +0 -78
- oe_python_template-0.6.25/template/.pre-commit-config.yaml.jinja +0 -76
- oe_python_template-0.6.25/template/.python-version +0 -1
- oe_python_template-0.6.25/template/.readthedocs.yml.jinja +0 -36
- oe_python_template-0.6.25/template/.vscode/extensions.json +0 -27
- oe_python_template-0.6.25/template/.vscode/settings.json.jinja +0 -76
- oe_python_template-0.6.25/template/CHANGELOG.md +0 -0
- oe_python_template-0.6.25/template/CODEOWNERS.jinja +0 -3
- oe_python_template-0.6.25/template/CODE_STYLE.md.jinja +0 -284
- oe_python_template-0.6.25/template/CONTRIBUTING.md.jinja +0 -155
- oe_python_template-0.6.25/template/Dockerfile.jinja +0 -42
- oe_python_template-0.6.25/template/LICENSE.jinja +0 -21
- oe_python_template-0.6.25/template/README.md +0 -0
- oe_python_template-0.6.25/template/SECURITY.md.jinja +0 -59
- oe_python_template-0.6.25/template/SERVICE_CONNECTIONS.md.jinja +0 -85
- oe_python_template-0.6.25/template/VERSION +0 -1
- oe_python_template-0.6.25/template/codecov.yml.jinja +0 -11
- oe_python_template-0.6.25/template/compose.yaml.jinja +0 -35
- oe_python_template-0.6.25/template/docs/Makefile.jinja +0 -20
- oe_python_template-0.6.25/template/docs/make.bat.jinja +0 -35
- oe_python_template-0.6.25/template/docs/partials/README_footer.md.jinja +0 -15
- oe_python_template-0.6.25/template/docs/partials/README_header.md.jinja +0 -40
- oe_python_template-0.6.25/template/docs/partials/README_main.md.jinja +0 -303
- oe_python_template-0.6.25/template/docs/source/_static/.keep +0 -0
- oe_python_template-0.6.25/template/docs/source/api_v1.rst.jinja +0 -9
- oe_python_template-0.6.25/template/docs/source/api_v2.rst.jinja +0 -9
- oe_python_template-0.6.25/template/docs/source/code-style.rst.jinja +0 -1
- oe_python_template-0.6.25/template/docs/source/conf.py.jinja +0 -128
- oe_python_template-0.6.25/template/docs/source/contributing.rst.jinja +0 -1
- oe_python_template-0.6.25/template/docs/source/index.rst.jinja +0 -40
- oe_python_template-0.6.25/template/docs/source/main.rst.jinja +0 -1
- oe_python_template-0.6.25/template/docs/source/reference.rst.jinja +0 -5
- oe_python_template-0.6.25/template/docs/source/release-notes.rst.jinja +0 -4
- oe_python_template-0.6.25/template/docs/source/security.rst.jinja +0 -1
- oe_python_template-0.6.25/template/examples/__init__.py.jinja +0 -1
- oe_python_template-0.6.25/template/examples/notebook.ipynb.jinja +0 -46
- oe_python_template-0.6.25/template/examples/notebook.py.jinja +0 -18
- oe_python_template-0.6.25/template/examples/script.py.jinja +0 -13
- oe_python_template-0.6.25/template/examples/streamlit.py.jinja +0 -30
- oe_python_template-0.6.25/template/github-action-run.jinja +0 -5
- oe_python_template-0.6.25/template/logo.png +0 -0
- oe_python_template-0.6.25/template/n.jinja +0 -28
- oe_python_template-0.6.25/template/noxfile.py.jinja +0 -235
- oe_python_template-0.6.25/template/pyproject.toml.jinja +0 -409
- oe_python_template-0.6.25/template/renovate.json +0 -9
- oe_python_template-0.6.25/template/reports/.keep +0 -0
- oe_python_template-0.6.25/template/sonar-project.properties.jinja +0 -12
- oe_python_template-0.6.25/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -15
- oe_python_template-0.6.25/template/src/{{ project_name_snake_case }}/api.py.jinja +0 -239
- oe_python_template-0.6.25/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -133
- oe_python_template-0.6.25/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -10
- oe_python_template-0.6.25/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -35
- oe_python_template-0.6.25/template/tests/__init__.py.jinja +0 -1
- oe_python_template-0.6.25/template/tests/api_test.py.jinja +0 -132
- oe_python_template-0.6.25/template/tests/cli_test.py.jinja +0 -86
- oe_python_template-0.6.25/template/tests/fixtures/.keep +0 -0
- oe_python_template-0.6.25/template/{{_copier_conf.answers_file}}.jinja +0 -1
- oe_python_template-0.6.25/tests/__init__.py +0 -1
- oe_python_template-0.6.25/tests/api_test.py +0 -132
- oe_python_template-0.6.25/tests/cli_test.py +0 -86
- oe_python_template-0.6.25/tests/fixtures/.keep +0 -0
- oe_python_template-0.6.25/uv.lock +0 -4296
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/.gitignore +0 -0
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/LICENSE +0 -0
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/src/oe_python_template/__init__.py +0 -0
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/src/oe_python_template/api.py +0 -0
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/src/oe_python_template/cli.py +0 -0
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.6.25 → oe_python_template-0.6.27}/src/oe_python_template/service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.27
|
|
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/
|
|
@@ -107,38 +107,40 @@ This [Copier](https://copier.readthedocs.io/en/stable/) template enables you to
|
|
|
107
107
|
Projects generated from this template can be [easily updated](https://copier.readthedocs.io/en/stable/updating/) to benefit from improvements and new features of the template.
|
|
108
108
|
|
|
109
109
|
Features:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
110
|
+
1. Package management with [uv](https://github.com/astral-sh/uv)
|
|
111
|
+
2. Code formatting with [Ruff](https://github.com/astral-sh/ruff)
|
|
112
|
+
3. Linting with [Ruff](https://github.com/astral-sh/ruff)
|
|
113
|
+
4. Static type checking with [mypy](https://mypy.readthedocs.io/en/stable/)
|
|
114
|
+
5. Complete set of [pre-commit](https://pre-commit.com/) hooks including [detect-secrets](https://github.com/Yelp/detect-secrets) and [pygrep](https://github.com/pre-commit/pygrep-hooks)
|
|
115
|
+
6. Unit and E2E testing with [pytest](https://docs.pytest.org/en/stable/) including parallel test execution
|
|
116
|
+
7. Matrix testing in multiple environments with [nox](https://nox.thea.codes/en/stable/)
|
|
117
|
+
8. Test coverage reported with [Codecov](https://codecov.io/) and published as release artifact
|
|
118
|
+
9. CI/CD pipeline automated with [GitHub Actions](https://github.com/features/actions)
|
|
119
|
+
10. CI/CD pipeline can be run locally with [act](https://github.com/nektos/act)
|
|
120
|
+
11. Code quality and security checks with [SonarQube](https://www.sonarsource.com/products/sonarcloud) and [GitHub CodeQL](https://codeql.github.com/)
|
|
121
|
+
12. Dependency monitoring with [pip-audit](https://pypi.org/project/pip-audit/), [Renovate](https://github.com/renovatebot/renovate), and [GitHub Dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide)
|
|
122
|
+
13. Licenses of dependencies extracted with [pip-licenses](https://pypi.org/project/pip-licenses/) and published as release artifacts in CSV and JSON format for compliance checks
|
|
123
|
+
14. Software Bill of Materials (SBOM) generated with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) and published as release artifact
|
|
124
|
+
15. Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
|
|
125
|
+
16. Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
|
|
126
|
+
17. Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and PDF export
|
|
127
|
+
18. Documentation published to [Read The Docs](https://readthedocs.org/)
|
|
128
|
+
19. Interactive OpenAPI specification with [Swagger](https://swagger.io/)
|
|
129
|
+
20. Python package published to [PyPI](https://pypi.org/)
|
|
130
|
+
21. Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
|
|
131
|
+
22. One-click development environments with [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) and [GitHub Codespaces](https://github.com/features/codespaces)
|
|
132
|
+
23. Settings for use with [VSCode](https://code.visualstudio.com/)
|
|
133
|
+
24. Settings and custom instructions for use with [GitHub Copilot](https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
|
|
132
134
|
|
|
133
135
|
The generated project includes code, documentation and configuration of a fully functioning demo-application and service, which can be used as a starting point for your own project.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
1. Service architecture suitable for use as shared library
|
|
137
|
+
2. Validation with [pydantic](https://docs.pydantic.dev/)
|
|
138
|
+
3. Command-line interface (CLI) with [Typer](https://typer.tiangolo.com/)
|
|
139
|
+
4. Versioned Web API with [FastAPI](https://fastapi.tiangolo.com/)
|
|
140
|
+
5. [Interactive Jupyter notebook](https://jupyter.org/) and [reactive Marimo notebook](https://marimo.io/)
|
|
141
|
+
6. Simple Web UI with [Streamlit](https://streamlit.io/)
|
|
142
|
+
7. Configuration to run the CLI and API in a Docker container including setup for [Docker Compose](https://docs.docker.com/get-started/docker-concepts/the-basics/what-is-docker-compose/)
|
|
143
|
+
8. Documentation including badges, setup instructions, contribution guide and security policy
|
|
142
144
|
|
|
143
145
|
Explore [here](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example) for what's generated out of the box.
|
|
144
146
|
|
|
@@ -187,9 +189,9 @@ external services such as CloudCov, SonarQube Cloud, Read The Docs, Docker.io, a
|
|
|
187
189
|
./n bump
|
|
188
190
|
```
|
|
189
191
|
Notes:
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
1. You can remove this section post having successfully generated your project.
|
|
193
|
+
2. The following sections refer to the dummy application and service provided by this template.
|
|
194
|
+
Use them as inspiration and adapt them to your own project.
|
|
193
195
|
|
|
194
196
|
## Overview
|
|
195
197
|
|
|
@@ -215,9 +217,9 @@ uvx oe-python-template serve --port=4711 # serves web API on port 4711
|
|
|
215
217
|
```
|
|
216
218
|
|
|
217
219
|
Notes:
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
1. The API is versioned, mounted at `/api/v1` resp. `/api/v2`
|
|
221
|
+
2. While serving the web API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
|
|
222
|
+
3. Interactive documentation is provided at [http://127.0.0.1:8000/api/docs](http://127.0.0.1:8000/api/docs)
|
|
221
223
|
|
|
222
224
|
|
|
223
225
|
The CLI provides extensive help:
|
|
@@ -235,21 +237,21 @@ uvx oe-python-template serve --help
|
|
|
235
237
|
|
|
236
238
|
This project is designed with operational excellence in mind, using modern Python tooling and practices. It includes:
|
|
237
239
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
240
|
+
1. Various examples demonstrating usage:
|
|
241
|
+
a. [Simple Python script](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/examples/script.py)
|
|
242
|
+
b. [Streamlit web application](https://oe-python-template.streamlit.app/) deployed on [Streamlit Community Cloud](https://streamlit.io/cloud)
|
|
243
|
+
c. [Jupyter](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/examples/notebook.ipynb) and [Marimo](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/examples/notebook.py) notebook
|
|
244
|
+
2. [Complete reference documentation](https://oe-python-template.readthedocs.io/en/latest/reference.html) on Read the Docs
|
|
245
|
+
3. [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template) including unit and E2E tests (reported on Codecov)
|
|
246
|
+
4. Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
|
|
247
|
+
5. Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
|
|
248
|
+
6. Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
|
|
249
|
+
7. [A-grade code quality](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template) in security, maintainability, and reliability with low technical debt and codesmell (verified by SonarQube)
|
|
250
|
+
8. Additional code security checks using [CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
|
|
251
|
+
9. [Security Policy](SECURITY.md)
|
|
252
|
+
10. [License](LICENSE) compliant with the Open Source Initiative (OSI)
|
|
253
|
+
11. 1-liner for installation and execution of command line interface (CLI) via [uv(x)](https://github.com/astral-sh/uv) or [Docker](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
|
|
254
|
+
12. Setup for developing inside a [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers) included (supports VSCode and GitHub Codespaces)
|
|
253
255
|
|
|
254
256
|
|
|
255
257
|
## Usage Examples
|
|
@@ -46,38 +46,40 @@ This [Copier](https://copier.readthedocs.io/en/stable/) template enables you to
|
|
|
46
46
|
Projects generated from this template can be [easily updated](https://copier.readthedocs.io/en/stable/updating/) to benefit from improvements and new features of the template.
|
|
47
47
|
|
|
48
48
|
Features:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
49
|
+
1. Package management with [uv](https://github.com/astral-sh/uv)
|
|
50
|
+
2. Code formatting with [Ruff](https://github.com/astral-sh/ruff)
|
|
51
|
+
3. Linting with [Ruff](https://github.com/astral-sh/ruff)
|
|
52
|
+
4. Static type checking with [mypy](https://mypy.readthedocs.io/en/stable/)
|
|
53
|
+
5. Complete set of [pre-commit](https://pre-commit.com/) hooks including [detect-secrets](https://github.com/Yelp/detect-secrets) and [pygrep](https://github.com/pre-commit/pygrep-hooks)
|
|
54
|
+
6. Unit and E2E testing with [pytest](https://docs.pytest.org/en/stable/) including parallel test execution
|
|
55
|
+
7. Matrix testing in multiple environments with [nox](https://nox.thea.codes/en/stable/)
|
|
56
|
+
8. Test coverage reported with [Codecov](https://codecov.io/) and published as release artifact
|
|
57
|
+
9. CI/CD pipeline automated with [GitHub Actions](https://github.com/features/actions)
|
|
58
|
+
10. CI/CD pipeline can be run locally with [act](https://github.com/nektos/act)
|
|
59
|
+
11. Code quality and security checks with [SonarQube](https://www.sonarsource.com/products/sonarcloud) and [GitHub CodeQL](https://codeql.github.com/)
|
|
60
|
+
12. Dependency monitoring with [pip-audit](https://pypi.org/project/pip-audit/), [Renovate](https://github.com/renovatebot/renovate), and [GitHub Dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide)
|
|
61
|
+
13. Licenses of dependencies extracted with [pip-licenses](https://pypi.org/project/pip-licenses/) and published as release artifacts in CSV and JSON format for compliance checks
|
|
62
|
+
14. Software Bill of Materials (SBOM) generated with [cyclonedx-python](https://github.com/CycloneDX/cyclonedx-python) and published as release artifact
|
|
63
|
+
15. Version and release management with [bump-my-version](https://callowayproject.github.io/bump-my-version/)
|
|
64
|
+
16. Changelog and release notes generated with [git-cliff](https://git-cliff.org/)
|
|
65
|
+
17. Documentation generated with [Sphinx](https://www.sphinx-doc.org/en/master/) including reference documentation and PDF export
|
|
66
|
+
18. Documentation published to [Read The Docs](https://readthedocs.org/)
|
|
67
|
+
19. Interactive OpenAPI specification with [Swagger](https://swagger.io/)
|
|
68
|
+
20. Python package published to [PyPI](https://pypi.org/)
|
|
69
|
+
21. Docker images published to [Docker.io](https://hub.docker.com/) and [GitHub Container Registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with [artifact attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds)
|
|
70
|
+
22. One-click development environments with [Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) and [GitHub Codespaces](https://github.com/features/codespaces)
|
|
71
|
+
23. Settings for use with [VSCode](https://code.visualstudio.com/)
|
|
72
|
+
24. Settings and custom instructions for use with [GitHub Copilot](https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot)
|
|
71
73
|
|
|
72
74
|
The generated project includes code, documentation and configuration of a fully functioning demo-application and service, which can be used as a starting point for your own project.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
75
|
+
1. Service architecture suitable for use as shared library
|
|
76
|
+
2. Validation with [pydantic](https://docs.pydantic.dev/)
|
|
77
|
+
3. Command-line interface (CLI) with [Typer](https://typer.tiangolo.com/)
|
|
78
|
+
4. Versioned Web API with [FastAPI](https://fastapi.tiangolo.com/)
|
|
79
|
+
5. [Interactive Jupyter notebook](https://jupyter.org/) and [reactive Marimo notebook](https://marimo.io/)
|
|
80
|
+
6. Simple Web UI with [Streamlit](https://streamlit.io/)
|
|
81
|
+
7. Configuration to run the CLI and API in a Docker container including setup for [Docker Compose](https://docs.docker.com/get-started/docker-concepts/the-basics/what-is-docker-compose/)
|
|
82
|
+
8. Documentation including badges, setup instructions, contribution guide and security policy
|
|
81
83
|
|
|
82
84
|
Explore [here](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template-example) for what's generated out of the box.
|
|
83
85
|
|
|
@@ -126,9 +128,9 @@ external services such as CloudCov, SonarQube Cloud, Read The Docs, Docker.io, a
|
|
|
126
128
|
./n bump
|
|
127
129
|
```
|
|
128
130
|
Notes:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
1. You can remove this section post having successfully generated your project.
|
|
132
|
+
2. The following sections refer to the dummy application and service provided by this template.
|
|
133
|
+
Use them as inspiration and adapt them to your own project.
|
|
132
134
|
|
|
133
135
|
## Overview
|
|
134
136
|
|
|
@@ -154,9 +156,9 @@ uvx oe-python-template serve --port=4711 # serves web API on port 4711
|
|
|
154
156
|
```
|
|
155
157
|
|
|
156
158
|
Notes:
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
1. The API is versioned, mounted at `/api/v1` resp. `/api/v2`
|
|
160
|
+
2. While serving the web API go to [http://127.0.0.1:8000/api/v1/hello-world](http://127.0.0.1:8000/api/v1/hello-world) to see the respons of the `hello-world` operation.
|
|
161
|
+
3. Interactive documentation is provided at [http://127.0.0.1:8000/api/docs](http://127.0.0.1:8000/api/docs)
|
|
160
162
|
|
|
161
163
|
|
|
162
164
|
The CLI provides extensive help:
|
|
@@ -174,21 +176,21 @@ uvx oe-python-template serve --help
|
|
|
174
176
|
|
|
175
177
|
This project is designed with operational excellence in mind, using modern Python tooling and practices. It includes:
|
|
176
178
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
179
|
+
1. Various examples demonstrating usage:
|
|
180
|
+
a. [Simple Python script](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/examples/script.py)
|
|
181
|
+
b. [Streamlit web application](https://oe-python-template.streamlit.app/) deployed on [Streamlit Community Cloud](https://streamlit.io/cloud)
|
|
182
|
+
c. [Jupyter](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/examples/notebook.ipynb) and [Marimo](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/examples/notebook.py) notebook
|
|
183
|
+
2. [Complete reference documentation](https://oe-python-template.readthedocs.io/en/latest/reference.html) on Read the Docs
|
|
184
|
+
3. [Transparent test coverage](https://app.codecov.io/gh/helmut-hoffer-von-ankershoffen/oe-python-template) including unit and E2E tests (reported on Codecov)
|
|
185
|
+
4. Matrix tested with [multiple python versions](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/blob/main/noxfile.py) to ensure compatibility (powered by [Nox](https://nox.thea.codes/en/stable/))
|
|
186
|
+
5. Compliant with modern linting and formatting standards (powered by [Ruff](https://github.com/astral-sh/ruff))
|
|
187
|
+
6. Up-to-date dependencies (monitored by [Renovate](https://github.com/renovatebot/renovate) and [Dependabot](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/dependabot))
|
|
188
|
+
7. [A-grade code quality](https://sonarcloud.io/summary/new_code?id=helmut-hoffer-von-ankershoffen_oe-python-template) in security, maintainability, and reliability with low technical debt and codesmell (verified by SonarQube)
|
|
189
|
+
8. Additional code security checks using [CodeQL](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/security/code-scanning)
|
|
190
|
+
9. [Security Policy](SECURITY.md)
|
|
191
|
+
10. [License](LICENSE) compliant with the Open Source Initiative (OSI)
|
|
192
|
+
11. 1-liner for installation and execution of command line interface (CLI) via [uv(x)](https://github.com/astral-sh/uv) or [Docker](https://hub.docker.com/r/helmuthva/oe-python-template/tags)
|
|
193
|
+
12. Setup for developing inside a [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers) included (supports VSCode and GitHub Codespaces)
|
|
192
194
|
|
|
193
195
|
|
|
194
196
|
## Usage Examples
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "oe-python-template"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.27"
|
|
4
4
|
description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -79,9 +79,15 @@ Changelog = "https://github.com/helmut-hoffer-von-ankershoffen/oe-python-templat
|
|
|
79
79
|
Issues = "https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/issues"
|
|
80
80
|
|
|
81
81
|
[build-system]
|
|
82
|
-
requires = ["hatchling"]
|
|
82
|
+
requires = ["hatchling==1.27.0"]
|
|
83
83
|
build-backend = "hatchling.build"
|
|
84
84
|
|
|
85
|
+
[tool.hatch.build]
|
|
86
|
+
include = ["src/*"]
|
|
87
|
+
|
|
88
|
+
[tool.hatch.build.targets.wheel]
|
|
89
|
+
packages = ["src/oe_python_template"]
|
|
90
|
+
|
|
85
91
|
[project.optional-dependencies]
|
|
86
92
|
examples = [
|
|
87
93
|
"streamlit>=1.43.2",
|
|
@@ -242,7 +248,7 @@ source = ["src/"]
|
|
|
242
248
|
|
|
243
249
|
|
|
244
250
|
[tool.bumpversion]
|
|
245
|
-
current_version = "0.6.
|
|
251
|
+
current_version = "0.6.27"
|
|
246
252
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
247
253
|
serialize = ["{major}.{minor}.{patch}"]
|
|
248
254
|
search = "{current_version}"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
GITHUB_WORKFLOW_RUNTIME=ACT
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
_commit: v0.6.24-1-g398f37a
|
|
2
|
-
_src_path: .
|
|
3
|
-
author_email: helmuthva@gmail.com
|
|
4
|
-
author_github_username: helmut-hoffer-von-ankershoffen
|
|
5
|
-
author_name: Helmut Hoffer von Ankershoffen
|
|
6
|
-
docker_io_enabled: true
|
|
7
|
-
docker_io_image_name: oe-python-template
|
|
8
|
-
docker_io_owner: helmuthva
|
|
9
|
-
github_repository_name: oe-python-template
|
|
10
|
-
github_repository_owner: helmut-hoffer-von-ankershoffen
|
|
11
|
-
github_repository_url_https: https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
|
|
12
|
-
github_repository_url_ssh: git@github.com:helmut-hoffer-von-ankershoffen/oe-python-template.git
|
|
13
|
-
org_email: helmuthva@gmail.com
|
|
14
|
-
org_name: Helmut Hoffer von Ankershoffen
|
|
15
|
-
project_description: Copier template to scaffold Python projects compliant with best
|
|
16
|
-
practices and modern tooling.
|
|
17
|
-
project_icon: 🧠
|
|
18
|
-
project_name: OE Python Template
|
|
19
|
-
pypi_distribution_name: oe-python-template
|
|
20
|
-
readthedocs_domain: readthedocs.org
|
|
21
|
-
readthedocs_project_key: oe-python-template
|
|
22
|
-
sonarqube_key: helmut-hoffer-von-ankershoffen_oe-python-template
|
|
23
|
-
streamlit_project_key: oe-python-template
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
FROM mcr.microsoft.com/devcontainers/python:1-3.11-bullseye
|
|
2
|
-
|
|
3
|
-
RUN curl --proto '=https' --tlsv1.2 -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
|
4
|
-
apt update -y && \
|
|
5
|
-
apt install -y --no-install-recommends curl gnupg2 jq less nano nodejs procps psmisc && \
|
|
6
|
-
apt-get clean && \
|
|
7
|
-
rm -rf /var/lib/apt/lists/*
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"build": {
|
|
3
|
-
"dockerfile": "Dockerfile"
|
|
4
|
-
},
|
|
5
|
-
"features": {
|
|
6
|
-
"ghcr.io/devcontainers/features/github-cli:1": {},
|
|
7
|
-
"ghcr.io/va-h/devcontainers-features/uv:1": {},
|
|
8
|
-
"ghcr.io/dhoeric/features/act:1": {},
|
|
9
|
-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
10
|
-
"ghcr.io/devcontainers/features/java:1": {},
|
|
11
|
-
"ghcr.io/devcontainers/features/node:1": {}
|
|
12
|
-
},
|
|
13
|
-
"onCreateCommand": ".devcontainer/onCreateCommand",
|
|
14
|
-
"postCreateCommand": ".devcontainer/postCreateCommand",
|
|
15
|
-
"postAttachCommand": ".devcontainer/postAttachCommand",
|
|
16
|
-
"customizations": {
|
|
17
|
-
// Configure properties specific to VS Code.
|
|
18
|
-
"vscode": {
|
|
19
|
-
// Add the IDs of extensions you want installed when the container is created.
|
|
20
|
-
"extensions": [
|
|
21
|
-
"charliermarsh.ruff",
|
|
22
|
-
"codecov.codecov",
|
|
23
|
-
"donjayamanne.python-environment-manager",
|
|
24
|
-
"fill-labs.dependi",
|
|
25
|
-
"github.vscode-github-actions",
|
|
26
|
-
"github.copilot",
|
|
27
|
-
"github.copilot-chat",
|
|
28
|
-
"gruntfuggly.todo-tree",
|
|
29
|
-
"joshrmosier.streamlit-runner",
|
|
30
|
-
"kaih2o.python-resource-monitor",
|
|
31
|
-
"marimo-team.vscode-marimo",
|
|
32
|
-
"mikestead.dotenv",
|
|
33
|
-
"ms-azuretools.vscode-docker",
|
|
34
|
-
"ms-python.debugpy",
|
|
35
|
-
"ms-python.python",
|
|
36
|
-
"ms-python.vscode-pylance",
|
|
37
|
-
"ms-toolsai.jupyter",
|
|
38
|
-
"oderwat.indent-rainbow",
|
|
39
|
-
"samuelcolvin.jinjahtml",
|
|
40
|
-
"sonarsource.sonarlint-vscode",
|
|
41
|
-
"tamasfe.even-better-toml",
|
|
42
|
-
"tomoki1207.pdf",
|
|
43
|
-
"wayou.vscode-todo-highlight"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"mounts": [
|
|
48
|
-
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
|
|
49
|
-
],
|
|
50
|
-
"forwardPorts": []
|
|
51
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
THE_KEY=A value
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Please see the documentation for all configuration options:
|
|
2
|
-
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
3
|
-
|
|
4
|
-
version: 2
|
|
5
|
-
updates:
|
|
6
|
-
- package-ecosystem: "pip"
|
|
7
|
-
directory: "/"
|
|
8
|
-
schedule:
|
|
9
|
-
interval: "daily"
|
|
10
|
-
- package-ecosystem: "github-actions"
|
|
11
|
-
directory: "/"
|
|
12
|
-
schedule:
|
|
13
|
-
interval: "daily"
|
|
File without changes
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
-
# to commit it to your repository.
|
|
3
|
-
#
|
|
4
|
-
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
-
# or to provide custom queries or build logic.
|
|
6
|
-
#
|
|
7
|
-
# ******** NOTE ********
|
|
8
|
-
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
-
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
-
# supported CodeQL languages.
|
|
11
|
-
#
|
|
12
|
-
name: "CodeQL Advanced"
|
|
13
|
-
|
|
14
|
-
on:
|
|
15
|
-
push:
|
|
16
|
-
branches: ["main"]
|
|
17
|
-
pull_request:
|
|
18
|
-
branches: ["main"]
|
|
19
|
-
schedule:
|
|
20
|
-
- cron: "22 3 * * 2"
|
|
21
|
-
|
|
22
|
-
jobs:
|
|
23
|
-
analyze:
|
|
24
|
-
name: Analyze (${{ matrix.language }})
|
|
25
|
-
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
|
26
|
-
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
|
27
|
-
# - https://gh.io/supported-runners-and-hardware-resources
|
|
28
|
-
# - https://gh.io/using-larger-runners (GitHub.com only)
|
|
29
|
-
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
|
|
30
|
-
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
|
31
|
-
permissions:
|
|
32
|
-
# required for all workflows
|
|
33
|
-
security-events: write
|
|
34
|
-
|
|
35
|
-
# required to fetch internal or private CodeQL packs
|
|
36
|
-
packages: read
|
|
37
|
-
|
|
38
|
-
# only required for workflows in private repositories
|
|
39
|
-
actions: read
|
|
40
|
-
contents: read
|
|
41
|
-
|
|
42
|
-
strategy:
|
|
43
|
-
fail-fast: false
|
|
44
|
-
matrix:
|
|
45
|
-
include:
|
|
46
|
-
- language: actions
|
|
47
|
-
build-mode: none
|
|
48
|
-
- language: python
|
|
49
|
-
build-mode: none
|
|
50
|
-
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
|
|
51
|
-
# Use `c-cpp` to analyze code written in C, C++ or both
|
|
52
|
-
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
|
|
53
|
-
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
|
54
|
-
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
|
|
55
|
-
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
|
|
56
|
-
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
|
|
57
|
-
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
|
58
|
-
steps:
|
|
59
|
-
- name: Checkout repository
|
|
60
|
-
uses: actions/checkout@v4
|
|
61
|
-
|
|
62
|
-
# Add any setup steps before running the `github/codeql-action/init` action.
|
|
63
|
-
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
|
64
|
-
# or others). This is typically only required for manual builds.
|
|
65
|
-
# - name: Setup runtime (example)
|
|
66
|
-
# uses: actions/setup-example@v1
|
|
67
|
-
|
|
68
|
-
# Initializes the CodeQL tools for scanning.
|
|
69
|
-
- name: Initialize CodeQL
|
|
70
|
-
uses: github/codeql-action/init@v3
|
|
71
|
-
with:
|
|
72
|
-
languages: ${{ matrix.language }}
|
|
73
|
-
build-mode: ${{ matrix.build-mode }}
|
|
74
|
-
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
75
|
-
# By default, queries listed here will override any specified in a config file.
|
|
76
|
-
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
77
|
-
|
|
78
|
-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
79
|
-
queries: security-extended,security-and-quality
|
|
80
|
-
|
|
81
|
-
# If the analyze step fails for one of the languages you are analyzing with
|
|
82
|
-
# "We were unable to automatically build your code", modify the matrix above
|
|
83
|
-
# to set the build mode to "manual" for that language. Then modify this step
|
|
84
|
-
# to build your code.
|
|
85
|
-
# ℹ️ Command-line programs to run using the OS shell.
|
|
86
|
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
87
|
-
- if: matrix.build-mode == 'manual'
|
|
88
|
-
shell: bash
|
|
89
|
-
run: |
|
|
90
|
-
echo 'If you are using a "manual" build mode for one or more of the' \
|
|
91
|
-
'languages you are analyzing, replace this with the commands to build' \
|
|
92
|
-
'your code, for example:'
|
|
93
|
-
echo ' make bootstrap'
|
|
94
|
-
echo ' make release'
|
|
95
|
-
exit 1
|
|
96
|
-
|
|
97
|
-
- name: Perform CodeQL Analysis
|
|
98
|
-
uses: github/codeql-action/analyze@v3
|
|
99
|
-
with:
|
|
100
|
-
category: "/language:${{matrix.language}}"
|