Skip to content

Commit c95b867

Browse files
committed
Dummit commit to test the workflows
1 parent 64871a9 commit c95b867

File tree

7 files changed

+131
-113
lines changed

7 files changed

+131
-113
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "python"
4+
schedule:
5+
interval: "weekly"
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
interval: "weekly"

.github/pull_request_template.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Which Problems Are Solved
2+
3+
Replace this example text with a concise list of problems that this PR solves.
4+
For example:
5+
- If the property XY is not given, the system crashes with a nil pointer exception.
6+
7+
# How the Problems Are Solved
8+
9+
Replace this example text with a concise list of changes that this PR introduces.
10+
For example:
11+
- Validates if property XY is given and throws an error if not
12+
13+
# Additional Changes
14+
15+
Replace this example text with a concise list of additional changes that this PR introduces, that are not directly solving the initial problem but are related.
16+
For example:
17+
- The docs explicitly describe that the property XY is mandatory
18+
- Adds missing translations for validations.
19+
20+
# Additional Context
21+
22+
Replace this example with links to related issues, discussions, discord threads, or other sources with more context.
23+
Use the Closing #issue syntax for issues that are resolved with this PR.
24+
- Closes #xxx
25+
- Discussion #xxx
26+
- Follow-up for PR #xxx
27+
- https://discord.com/channels/xxx/xxx

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
11+
defaults:
12+
run:
13+
working-directory: ./
14+
15+
jobs:
16+
publish-package:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
23+
- name: Setup Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version-file: 'pyproject.toml'
27+
cache: 'poetry'
28+
29+
- name: Install Semantic Release
30+
run: |
31+
npm install --global semantic-release
32+
npm install --global @semantic-release/git
33+
npm install --global @semantic-release/exec
34+
npm install --global semantic-release-pypi
35+
36+
- name: Run semantic-release
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
40+
run: npx semantic-release

.github/workflows/test.yml

Whitespace-only changes.

.gitignore

Lines changed: 7 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ __pycache__/
88

99
# Distribution / packaging
1010
.Python
11+
env/
1112
build/
1213
develop-eggs/
1314
dist/
@@ -19,12 +20,9 @@ lib64/
1920
parts/
2021
sdist/
2122
var/
22-
wheels/
23-
share/python-wheels/
2423
*.egg-info/
2524
.installed.cfg
2625
*.egg
27-
MANIFEST
2826

2927
# PyInstaller
3028
# Usually these files are written by a python script from a template
@@ -39,136 +37,32 @@ pip-delete-this-directory.txt
3937
# Unit test / coverage reports
4038
htmlcov/
4139
.tox/
42-
.nox/
4340
.coverage
4441
.coverage.*
4542
.cache
4643
nosetests.xml
4744
coverage.xml
48-
*.cover
49-
*.py,cover
45+
*,cover
5046
.hypothesis/
51-
.pytest_cache/
52-
cover/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
5351

5452
# Translations
5553
*.mo
5654
*.pot
5755

5856
# Django stuff:
5957
*.log
60-
local_settings.py
61-
db.sqlite3
62-
db.sqlite3-journal
63-
64-
# Flask stuff:
65-
instance/
66-
.webassets-cache
67-
68-
# Scrapy stuff:
69-
.scrapy
7058

7159
# Sphinx documentation
7260
docs/_build/
7361

7462
# PyBuilder
75-
.pybuilder/
7663
target/
7764

78-
# Jupyter Notebook
65+
#Ipython Notebook
7966
.ipynb_checkpoints
8067

81-
# IPython
82-
profile_default/
83-
ipython_config.py
84-
85-
# pyenv
86-
# For a library or package, you might want to ignore these files since the code is
87-
# intended to run in multiple environments; otherwise, check them in:
88-
# .python-version
89-
90-
# pipenv
91-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94-
# install all needed dependencies.
95-
#Pipfile.lock
96-
97-
# UV
98-
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99-
# This is especially recommended for binary packages to ensure reproducibility, and is more
100-
# commonly ignored for libraries.
101-
#uv.lock
102-
103-
# poetry
104-
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105-
# This is especially recommended for binary packages to ensure reproducibility, and is more
106-
# commonly ignored for libraries.
107-
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108-
#poetry.lock
109-
110-
# pdm
111-
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112-
#pdm.lock
113-
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114-
# in version control.
115-
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116-
.pdm.toml
117-
.pdm-python
118-
.pdm-build/
119-
120-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121-
__pypackages__/
122-
123-
# Celery stuff
124-
celerybeat-schedule
125-
celerybeat.pid
126-
127-
# SageMath parsed files
128-
*.sage.py
129-
130-
# Environments
13168
.env
132-
.venv
133-
env/
134-
venv/
135-
ENV/
136-
env.bak/
137-
venv.bak/
138-
139-
# Spyder project settings
140-
.spyderproject
141-
.spyproject
142-
143-
# Rope project settings
144-
.ropeproject
145-
146-
# mkdocs documentation
147-
/site
148-
149-
# mypy
150-
.mypy_cache/
151-
.dmypy.json
152-
dmypy.json
153-
154-
# Pyre type checker
155-
.pyre/
156-
157-
# pytype static type analyzer
158-
.pytype/
159-
160-
# Cython debug symbols
161-
cython_debug/
162-
163-
# PyCharm
164-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166-
# and can be added to the global gitignore or merged into this file. For a more nuclear
167-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
168-
#.idea/
169-
170-
# Ruff stuff:
171-
.ruff_cache/
172-
173-
# PyPI configuration file
174-
.pypirc

.openapi-generator-ignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.gitignore
2+
.github/**/*.yml
3+
LICENSE
4+
README.md
5+
docs/**/*.md
6+
docs/*.md
7+
api/*.yaml
8+
.openapi-generator/FILES
9+
.openapi-generator/VERSION
10+
.gitlab-ci.yml
11+
.travis.yml
12+
git_push.sh
13+
setup.cfg
14+
setup.py
15+

.releaserc.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"branches": [
3+
"main"
4+
],
5+
"plugins": [
6+
"@semantic-release/commit-analyzer",
7+
"@semantic-release/release-notes-generator",
8+
[
9+
"@semantic-release/exec",
10+
{
11+
"prepareCmd": "pip install --no-cache-dir build && python -m build"
12+
}
13+
],
14+
[
15+
"@semantic-release/github",
16+
{
17+
"assets": {
18+
"path": "dist/*"
19+
}
20+
}
21+
],
22+
"semantic-release-pypi",
23+
[
24+
"@semantic-release/git",
25+
{
26+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
27+
"assets": [
28+
"pyproject.toml"
29+
]
30+
}
31+
]
32+
]
33+
}

0 commit comments

Comments
 (0)