-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/mx-1347 link cruft template (#61)
# Added - cruft template link # Changes - harmonized boilerplate
- Loading branch information
1 parent
00e095a
commit c456e8d
Showing
20 changed files
with
216 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"checkout": null, | ||
"commit": "fb8fdbbc28f15d99939d22915b49348150d1d534", | ||
"context": { | ||
"cookiecutter": { | ||
"project_name": "common", | ||
"short_summary": "Common library for MEx python projects.", | ||
"long_summary": "The `mex-common` library is a software development toolkit that is used by multiple components within the MEx project. It contains utilities for building pipelines like a common commandline interface, logging and configuration setup. It also provides common auxiliary connectors that can be used to fetch data from external services and a re-usable implementation of the MEx metadata schema as pydantic models.", | ||
"_template": "https://github.com/robert-koch-institut/mex-template" | ||
} | ||
}, | ||
"directory": null, | ||
"template": "https://github.com/robert-koch-institut/mex-template" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,20 @@ | ||
# Ticket Number | ||
<!--- Number of the ticket of this PR. --> | ||
# PR Context | ||
<!-- Additional info for the reviewer --> | ||
|
||
# Uncovered Acceptance Criteria | ||
<!--- Acceptance criteria that you did not cover and why you did not cover them. --> | ||
|
||
# Open Questions | ||
<!--- Questions that you have. --> | ||
# Added | ||
<!-- New features and interfaces --> | ||
|
||
# Changes | ||
<!-- Changes in existing functionality --> | ||
|
||
## Added | ||
<!--- For new features. --> | ||
|
||
## Changes | ||
<!--- For changes in existing functionality. --> | ||
|
||
## Deprecated | ||
<!--- For soon-to-be removed features. --> | ||
# Deprecated | ||
<!-- Soon-to-be removed features --> | ||
|
||
## Removed | ||
<!--- For now removed features. --> | ||
# Removed | ||
<!-- Definitely removed features --> | ||
|
||
## Fixed | ||
<!--- For any bug fixes. --> | ||
# Fixed | ||
<!-- Fixed bugs --> | ||
|
||
## Security | ||
<!--- In case of fixed vulnerabilities. --> | ||
# Security | ||
<!-- Fixed vulnerabilities --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Cookiecutter | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
env: | ||
PIP_NO_OPTION: on | ||
PIP_NO_CLEAN: on | ||
PIP_PREFER_BINARY: on | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Cache requirements | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-requirements | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ env.cache-name }}-${{ hashFiles('requirements.txt') }} | ||
restore-keys: | | ||
${{ env.cache-name }}- | ||
- name: Setup python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
|
||
- name: Install requirements | ||
run: make setup | ||
|
||
- name: Check template | ||
run: cruft check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ | |
|
||
## Supported Versions | ||
|
||
This python package is currently in pre-release state. That means changes can | ||
This software package is currently in pre-release state. That means changes can | ||
occur frequently and only the latest released version will be supported with | ||
security and bug fixes. It is therefore not recommended to use this package in | ||
productive environments. | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you discover a vulnerability, please contact the author team directly via | ||
[email](pyproject.toml). Pull-requests with proposed solutions are explicitly | ||
[email](mailto:[email protected]). Pull-requests with proposed solutions are explicitly | ||
welcomed as well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# sphinx configuration | ||
|
||
html_theme = "sphinx_book_theme" | ||
extensions = ["sphinx.ext.napoleon"] | ||
html_theme = "alabaster" | ||
napoleon_google_docstring = True | ||
napoleon_include_init_with_doc = True | ||
napoleon_include_private_with_doc = True | ||
project = "mex-common" | ||
templates_path = ["."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
mex-common | ||
========== | ||
Documentation | ||
============= | ||
|
||
Common library for MEx python projects. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:glob: | ||
|
||
source/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends '!layout.html' %} | ||
|
||
{% block footer %} | ||
<div class="footer"> | ||
<a href="https://www.rki.de/DE/Content/Forsch/MEx/MEx_inhalt.html" rel="nofollow"> | ||
MEx Project | ||
</a> | | ||
<a href="https://www.rki.de/DE/Service/Impressum/impressum_node.html" rel="nofollow"> | ||
RKI Imprint | ||
</a> | | ||
<a href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement" rel="nofollow"> | ||
GitHub Privacy | ||
</a> | | ||
<a href="https://docs.github.com/en/site-policy/privacy-policies/github-cookies" rel="nofollow"> | ||
GitHub Cookies | ||
</a> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.