inflectsynth 0.1.0__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.
- inflectsynth-0.1.0/.codecrate.toml +24 -0
- inflectsynth-0.1.0/.github/workflows/python-publish.yml +79 -0
- inflectsynth-0.1.0/.github/workflows/test.yml +49 -0
- inflectsynth-0.1.0/.gitignore +223 -0
- inflectsynth-0.1.0/.ledger/ledger.toml +24 -0
- inflectsynth-0.1.0/.ledger/releaseledger/.ledger-project.toml +6 -0
- inflectsynth-0.1.0/.ledger/releaseledger/config.toml +57 -0
- inflectsynth-0.1.0/.ledger/releaseledger/data/.ledger-project.toml +6 -0
- inflectsynth-0.1.0/.ledger/releaseledger/data/ledgers/main/events/events.jsonl +1 -0
- inflectsynth-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/release.md +27 -0
- inflectsynth-0.1.0/.ledger/taskledger/.ledger-project.toml +6 -0
- inflectsynth-0.1.0/.ledger/taskledger/config.toml +7 -0
- inflectsynth-0.1.0/.pre-commit-config.yaml +64 -0
- inflectsynth-0.1.0/LICENSE +201 -0
- inflectsynth-0.1.0/MANIFEST.in +5 -0
- inflectsynth-0.1.0/NOTICE +7 -0
- inflectsynth-0.1.0/PKG-INFO +171 -0
- inflectsynth-0.1.0/README.md +131 -0
- inflectsynth-0.1.0/benchmarks/__init__.py +1 -0
- inflectsynth-0.1.0/benchmarks/data/voice_calibration_verification_policy.json +10 -0
- inflectsynth-0.1.0/benchmarks/data/voice_level_policy.json +10 -0
- inflectsynth-0.1.0/benchmarks/data/voice_level_stimuli.json +19 -0
- inflectsynth-0.1.0/benchmarks/promote_voice_calibration.py +300 -0
- inflectsynth-0.1.0/benchmarks/verify_voice_calibration.py +546 -0
- inflectsynth-0.1.0/benchmarks/voice_level_benchmark.py +547 -0
- inflectsynth-0.1.0/docs/changelog.md +5 -0
- inflectsynth-0.1.0/examples/all_models.py +6 -0
- inflectsynth-0.1.0/examples/basic.py +5 -0
- inflectsynth-0.1.0/examples/calibrated.py +8 -0
- inflectsynth-0.1.0/inflectsynth/__init__.py +92 -0
- inflectsynth-0.1.0/inflectsynth/__main__.py +56 -0
- inflectsynth-0.1.0/inflectsynth/_onnxvoice.py +298 -0
- inflectsynth-0.1.0/inflectsynth/api_contract.py +29 -0
- inflectsynth-0.1.0/inflectsynth/catalog.py +71 -0
- inflectsynth-0.1.0/inflectsynth/config.py +55 -0
- inflectsynth-0.1.0/inflectsynth/data/voice_level_calibration.json +32 -0
- inflectsynth-0.1.0/inflectsynth/discovery.py +207 -0
- inflectsynth-0.1.0/inflectsynth/errors.py +67 -0
- inflectsynth-0.1.0/inflectsynth/identity.py +33 -0
- inflectsynth-0.1.0/inflectsynth/py.typed +0 -0
- inflectsynth-0.1.0/inflectsynth/types.py +88 -0
- inflectsynth-0.1.0/inflectsynth/voice.py +305 -0
- inflectsynth-0.1.0/inflectsynth/voice_level.py +393 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/PKG-INFO +171 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/SOURCES.txt +69 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/dependency_links.txt +1 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/entry_points.txt +2 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/requires.txt +21 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/scm_file_list.json +65 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/scm_version.json +8 -0
- inflectsynth-0.1.0/inflectsynth.egg-info/top_level.txt +1 -0
- inflectsynth-0.1.0/pyproject.toml +87 -0
- inflectsynth-0.1.0/setup.cfg +4 -0
- inflectsynth-0.1.0/tests/integration/test_inflect_real_models.py +111 -0
- inflectsynth-0.1.0/tests/test_catalog.py +60 -0
- inflectsynth-0.1.0/tests/test_dependency_boundary.py +52 -0
- inflectsynth-0.1.0/tests/test_discovery.py +130 -0
- inflectsynth-0.1.0/tests/test_errors.py +35 -0
- inflectsynth-0.1.0/tests/test_identity.py +41 -0
- inflectsynth-0.1.0/tests/test_onnxvoice_contract.py +261 -0
- inflectsynth-0.1.0/tests/test_packaged_voice_calibration.py +38 -0
- inflectsynth-0.1.0/tests/test_promote_voice_calibration.py +112 -0
- inflectsynth-0.1.0/tests/test_public_api.py +38 -0
- inflectsynth-0.1.0/tests/test_request_api_contract.py +32 -0
- inflectsynth-0.1.0/tests/test_types.py +90 -0
- inflectsynth-0.1.0/tests/test_verify_voice_calibration.py +196 -0
- inflectsynth-0.1.0/tests/test_version.py +11 -0
- inflectsynth-0.1.0/tests/test_voice_contract.py +261 -0
- inflectsynth-0.1.0/tests/test_voice_factory.py +148 -0
- inflectsynth-0.1.0/tests/test_voice_level_benchmark.py +158 -0
- inflectsynth-0.1.0/tests/test_voice_leveling.py +201 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[codecrate]
|
|
2
|
+
output = "context_inflectsynth.md"
|
|
3
|
+
keep_docstrings = true
|
|
4
|
+
dedupe = true
|
|
5
|
+
respect_gitignore = true
|
|
6
|
+
exclude = ["*/.venv/*", "context_inflectsynth.*"]
|
|
7
|
+
include = [
|
|
8
|
+
"**/*.py",
|
|
9
|
+
"**/*.json",
|
|
10
|
+
"**/*.toml",
|
|
11
|
+
"**/*.rst",
|
|
12
|
+
"**/*.md",
|
|
13
|
+
"**/*.yaml",
|
|
14
|
+
"**/*.yml",
|
|
15
|
+
"**/py.typed",
|
|
16
|
+
"**/NOTICE",
|
|
17
|
+
"**/NOTICE.*",
|
|
18
|
+
"**/MANIFEST.in",
|
|
19
|
+
"LICENSE*",
|
|
20
|
+
]
|
|
21
|
+
split_max_chars = 2500000
|
|
22
|
+
layout = "full"
|
|
23
|
+
profile = "portable-agent"
|
|
24
|
+
emit_standalone_unpacker = true
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build-and-publish:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
environment:
|
|
15
|
+
name: pypi
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
id-token: write
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
with:
|
|
22
|
+
fetch-depth: 0
|
|
23
|
+
- uses: actions/setup-python@v5
|
|
24
|
+
with:
|
|
25
|
+
python-version: "3.13"
|
|
26
|
+
- name: Validate release tag
|
|
27
|
+
id: tag
|
|
28
|
+
shell: bash
|
|
29
|
+
run: |
|
|
30
|
+
if [[ ! "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
|
31
|
+
echo "Expected a stable vX.Y.Z tag, got: $GITHUB_REF_NAME" >&2
|
|
32
|
+
exit 1
|
|
33
|
+
fi
|
|
34
|
+
echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
|
|
35
|
+
- name: Install release tools
|
|
36
|
+
run: python -m pip install build twine packaging
|
|
37
|
+
- name: Build release distributions
|
|
38
|
+
run: |
|
|
39
|
+
rm -rf dist build
|
|
40
|
+
python -m build --sdist --wheel
|
|
41
|
+
- name: Validate artifacts
|
|
42
|
+
run: |
|
|
43
|
+
python -m twine check dist/*
|
|
44
|
+
python - <<'PY'
|
|
45
|
+
from pathlib import Path
|
|
46
|
+
from packaging.utils import parse_sdist_filename, parse_wheel_filename
|
|
47
|
+
|
|
48
|
+
expected = "${{ steps.tag.outputs.version }}"
|
|
49
|
+
artifacts = sorted(Path("dist").iterdir())
|
|
50
|
+
if len(artifacts) != 2:
|
|
51
|
+
raise SystemExit(f"Expected exactly an sdist and wheel, found: {artifacts}")
|
|
52
|
+
|
|
53
|
+
versions = set()
|
|
54
|
+
for artifact in artifacts:
|
|
55
|
+
if artifact.name.endswith(".whl"):
|
|
56
|
+
name, version, _, _ = parse_wheel_filename(artifact.name)
|
|
57
|
+
elif artifact.name.endswith(".tar.gz"):
|
|
58
|
+
name, version = parse_sdist_filename(artifact.name)
|
|
59
|
+
else:
|
|
60
|
+
raise SystemExit(f"Unexpected release artifact: {artifact.name}")
|
|
61
|
+
if str(name) != "inflectsynth":
|
|
62
|
+
raise SystemExit(f"Unexpected distribution name: {name}")
|
|
63
|
+
versions.add(str(version))
|
|
64
|
+
|
|
65
|
+
if versions != {expected}:
|
|
66
|
+
raise SystemExit(f"Expected version {expected}, found: {sorted(versions)}")
|
|
67
|
+
PY
|
|
68
|
+
- name: Upload exact release artifacts
|
|
69
|
+
uses: actions/upload-artifact@v4
|
|
70
|
+
with:
|
|
71
|
+
name: inflectsynth-${{ steps.tag.outputs.version }}-dist
|
|
72
|
+
path: dist/*
|
|
73
|
+
if-no-files-found: error
|
|
74
|
+
- name: Publish to PyPI
|
|
75
|
+
uses: pypa/gh-action-pypi-publish@v1.14.1
|
|
76
|
+
with:
|
|
77
|
+
packages-dir: dist/
|
|
78
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
79
|
+
attestations: false
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
strategy:
|
|
14
|
+
fail-fast: false
|
|
15
|
+
matrix:
|
|
16
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: ${{ matrix.python-version }}
|
|
22
|
+
- name: Install project and development tools
|
|
23
|
+
run: python -m pip install -e ".[dev]"
|
|
24
|
+
- name: Run tests
|
|
25
|
+
run: python -m pytest
|
|
26
|
+
- name: Check lint
|
|
27
|
+
run: python -m ruff check inflectsynth tests benchmarks examples
|
|
28
|
+
- name: Check types
|
|
29
|
+
run: python -m mypy inflectsynth
|
|
30
|
+
- name: Compile sources and examples
|
|
31
|
+
run: python -m compileall -q inflectsynth tests benchmarks examples
|
|
32
|
+
|
|
33
|
+
package:
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@v4
|
|
37
|
+
with:
|
|
38
|
+
fetch-depth: 0
|
|
39
|
+
- uses: actions/setup-python@v5
|
|
40
|
+
with:
|
|
41
|
+
python-version: "3.13"
|
|
42
|
+
- name: Install project and packaging tools
|
|
43
|
+
run: python -m pip install -e ".[dev]"
|
|
44
|
+
- name: Build sdist and wheel
|
|
45
|
+
run: |
|
|
46
|
+
rm -rf dist build
|
|
47
|
+
python -m build --sdist --wheel
|
|
48
|
+
- name: Validate artifacts
|
|
49
|
+
run: python -m twine check dist/*
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
*.lcov
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
cover/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
local_settings.py
|
|
62
|
+
db.sqlite3
|
|
63
|
+
db.sqlite3-journal
|
|
64
|
+
|
|
65
|
+
# Flask stuff:
|
|
66
|
+
instance/
|
|
67
|
+
.webassets-cache
|
|
68
|
+
|
|
69
|
+
# Scrapy stuff:
|
|
70
|
+
.scrapy
|
|
71
|
+
|
|
72
|
+
# Sphinx documentation
|
|
73
|
+
docs/_build/
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
.pybuilder/
|
|
77
|
+
target/
|
|
78
|
+
|
|
79
|
+
# Jupyter Notebook
|
|
80
|
+
.ipynb_checkpoints
|
|
81
|
+
|
|
82
|
+
# IPython
|
|
83
|
+
profile_default/
|
|
84
|
+
ipython_config.py
|
|
85
|
+
|
|
86
|
+
# pyenv
|
|
87
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
89
|
+
# .python-version
|
|
90
|
+
|
|
91
|
+
# pipenv
|
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
95
|
+
# install all needed dependencies.
|
|
96
|
+
# Pipfile.lock
|
|
97
|
+
|
|
98
|
+
# uv
|
|
99
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
100
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
101
|
+
# commonly ignored for libraries.
|
|
102
|
+
# uv.lock
|
|
103
|
+
|
|
104
|
+
# poetry
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
106
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
107
|
+
# commonly ignored for libraries.
|
|
108
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
109
|
+
# poetry.lock
|
|
110
|
+
# poetry.toml
|
|
111
|
+
|
|
112
|
+
# pdm
|
|
113
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
114
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
115
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
116
|
+
# pdm.lock
|
|
117
|
+
# pdm.toml
|
|
118
|
+
.pdm-python
|
|
119
|
+
.pdm-build/
|
|
120
|
+
|
|
121
|
+
# pixi
|
|
122
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
123
|
+
# pixi.lock
|
|
124
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
125
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
126
|
+
.pixi/*
|
|
127
|
+
!.pixi/config.toml
|
|
128
|
+
|
|
129
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
130
|
+
__pypackages__/
|
|
131
|
+
|
|
132
|
+
# Celery stuff
|
|
133
|
+
celerybeat-schedule*
|
|
134
|
+
celerybeat.pid
|
|
135
|
+
|
|
136
|
+
# Redis
|
|
137
|
+
*.rdb
|
|
138
|
+
*.aof
|
|
139
|
+
*.pid
|
|
140
|
+
|
|
141
|
+
# RabbitMQ
|
|
142
|
+
mnesia/
|
|
143
|
+
rabbitmq/
|
|
144
|
+
rabbitmq-data/
|
|
145
|
+
|
|
146
|
+
# ActiveMQ
|
|
147
|
+
activemq-data/
|
|
148
|
+
|
|
149
|
+
# SageMath parsed files
|
|
150
|
+
*.sage.py
|
|
151
|
+
|
|
152
|
+
# Environments
|
|
153
|
+
.env
|
|
154
|
+
.envrc
|
|
155
|
+
.venv
|
|
156
|
+
env/
|
|
157
|
+
venv/
|
|
158
|
+
ENV/
|
|
159
|
+
env.bak/
|
|
160
|
+
venv.bak/
|
|
161
|
+
|
|
162
|
+
# Spyder project settings
|
|
163
|
+
.spyderproject
|
|
164
|
+
.spyproject
|
|
165
|
+
|
|
166
|
+
# Rope project settings
|
|
167
|
+
.ropeproject
|
|
168
|
+
|
|
169
|
+
# mkdocs/Zensical documentation
|
|
170
|
+
/site
|
|
171
|
+
|
|
172
|
+
# mypy
|
|
173
|
+
.mypy_cache/
|
|
174
|
+
.dmypy.json
|
|
175
|
+
dmypy.json
|
|
176
|
+
|
|
177
|
+
# Pyre type checker
|
|
178
|
+
.pyre/
|
|
179
|
+
|
|
180
|
+
# pytype static type analyzer
|
|
181
|
+
.pytype/
|
|
182
|
+
|
|
183
|
+
# Cython debug symbols
|
|
184
|
+
cython_debug/
|
|
185
|
+
|
|
186
|
+
# PyCharm
|
|
187
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
188
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
189
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
190
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
191
|
+
# .idea/
|
|
192
|
+
|
|
193
|
+
# Abstra
|
|
194
|
+
# Abstra is an AI-powered process automation framework.
|
|
195
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
196
|
+
# Learn more at https://abstra.io/docs
|
|
197
|
+
.abstra/
|
|
198
|
+
|
|
199
|
+
# Visual Studio Code
|
|
200
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
|
|
201
|
+
# can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
202
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer, you
|
|
203
|
+
# could uncomment the following to ignore the entire vscode folder
|
|
204
|
+
# .vscode/
|
|
205
|
+
# Temporary file for partial code execution
|
|
206
|
+
tempCodeRunnerFile.py
|
|
207
|
+
|
|
208
|
+
# Ruff stuff:
|
|
209
|
+
.ruff_cache/
|
|
210
|
+
|
|
211
|
+
# PyPI configuration file
|
|
212
|
+
.pypirc
|
|
213
|
+
|
|
214
|
+
# Marimo
|
|
215
|
+
marimo/_static/
|
|
216
|
+
marimo/_lsp/
|
|
217
|
+
__marimo__/
|
|
218
|
+
|
|
219
|
+
# Streamlit
|
|
220
|
+
.streamlit/secrets.toml
|
|
221
|
+
inflectsynth/_version.py
|
|
222
|
+
context_inflectsynth*.*
|
|
223
|
+
/benchmarks/output/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
schema_version = 3
|
|
2
|
+
|
|
3
|
+
[project]
|
|
4
|
+
uuid = "4bbb2a1d-af98-456b-a442-c684c4d5f1d3"
|
|
5
|
+
name = "inflectsynth"
|
|
6
|
+
|
|
7
|
+
[ledgers.taskledger.mounts.data]
|
|
8
|
+
storage = "external"
|
|
9
|
+
root = "../ledger"
|
|
10
|
+
|
|
11
|
+
[ledgers.taskledger.mounts.runtime]
|
|
12
|
+
storage = "user-data"
|
|
13
|
+
|
|
14
|
+
[ledgers.taskledger.mounts.logs]
|
|
15
|
+
storage = "user-data"
|
|
16
|
+
|
|
17
|
+
[ledgers.taskledger.mounts.indexes]
|
|
18
|
+
storage = "cache"
|
|
19
|
+
|
|
20
|
+
[ledgers.releaseledger.mounts.data]
|
|
21
|
+
storage = "project"
|
|
22
|
+
|
|
23
|
+
[ledgers.releaseledger.mounts.indexes]
|
|
24
|
+
storage = "cache"
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
config_version = 2
|
|
2
|
+
# Branch-scoped release state. This block is safe to commit.
|
|
3
|
+
ledger_ref = "main"
|
|
4
|
+
ledger_parent_ref = ""
|
|
5
|
+
ledger_branch_guard = "off"
|
|
6
|
+
# Cross-ledger identity. Local record IDs stay unchanged.
|
|
7
|
+
|
|
8
|
+
[ledger]
|
|
9
|
+
code = "rl"
|
|
10
|
+
# Release defaults.
|
|
11
|
+
|
|
12
|
+
[release]
|
|
13
|
+
default_changelog = "CHANGELOG.md"
|
|
14
|
+
default_status = "planned"
|
|
15
|
+
allow_dirty_worktree = true
|
|
16
|
+
# Changelog build defaults.
|
|
17
|
+
|
|
18
|
+
[changelog]
|
|
19
|
+
output = "CHANGELOG.md"
|
|
20
|
+
header = ""
|
|
21
|
+
body = """## {% if release.date %}[{{ release.version }}] - {{ release.date }}{% else %}[{{ release.version }}] - Unreleased{% endif %}
|
|
22
|
+
|
|
23
|
+
{% for group in groups %}
|
|
24
|
+
### {{ group.title }}
|
|
25
|
+
{% for entry in group.entries %}
|
|
26
|
+
- {% if entry.breaking %}**BREAKING:** {% endif %}{{ entry.summary }}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
|
|
29
|
+
{% endfor %}
|
|
30
|
+
"""
|
|
31
|
+
footer = "<!-- generated by releaseledger -->"
|
|
32
|
+
trim = true
|
|
33
|
+
render_always = false
|
|
34
|
+
postprocessors = []
|
|
35
|
+
standard = ""
|
|
36
|
+
group_mode = "extended"
|
|
37
|
+
link_references = false
|
|
38
|
+
repository_url = ""
|
|
39
|
+
tag_prefix = "v"
|
|
40
|
+
compare_url_template = ""
|
|
41
|
+
release_url_template = ""
|
|
42
|
+
preamble = ""
|
|
43
|
+
semver = false
|
|
44
|
+
unreleased = true
|
|
45
|
+
# Git-first release evidence.
|
|
46
|
+
|
|
47
|
+
[git]
|
|
48
|
+
enabled = true
|
|
49
|
+
tag_creation = "local"
|
|
50
|
+
default_base = "previous_release_tag"
|
|
51
|
+
default_head = "HEAD"
|
|
52
|
+
previous_tag_patterns = ["v{version}", "{version}"]
|
|
53
|
+
include_merges = "nontrivial"
|
|
54
|
+
require_clean_worktree = false
|
|
55
|
+
max_commits = 500
|
|
56
|
+
max_diff_chars_per_commit = 12000
|
|
57
|
+
candidate_status = "draft"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"data":{"status":"released"},"event":"release.created","event_id":"event-0001","record_revisions":{"release:v0.1.0":1},"release_version":"v0.1.0","schema_version":2}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
schema_version: 2
|
|
3
|
+
object_type: release
|
|
4
|
+
versioning:
|
|
5
|
+
schema_version: 1
|
|
6
|
+
revision: 1
|
|
7
|
+
version: v0.1.0
|
|
8
|
+
status: released
|
|
9
|
+
history_state: curated
|
|
10
|
+
title: Release v0.1.0
|
|
11
|
+
released_at: "2026-10-07"
|
|
12
|
+
previous_version: null
|
|
13
|
+
cancel_reason: null
|
|
14
|
+
superseded_by: null
|
|
15
|
+
changelog_file: docs/changelog.md
|
|
16
|
+
boundary_ref: null
|
|
17
|
+
source_refs: []
|
|
18
|
+
source_count: null
|
|
19
|
+
entry_count: 0
|
|
20
|
+
artifact_count: 0
|
|
21
|
+
git_base_ref: null
|
|
22
|
+
git_base_sha: null
|
|
23
|
+
git_head_ref: null
|
|
24
|
+
git_head_sha: null
|
|
25
|
+
git_range: null
|
|
26
|
+
git_commit_count: null
|
|
27
|
+
---
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
exclude: |
|
|
2
|
+
# NOT INSTALLABLE ADDONS
|
|
3
|
+
# END NOT INSTALLABLE ADDONS
|
|
4
|
+
# Files and folders generated by bots, to avoid loops
|
|
5
|
+
^setup/|/static/description/index\.html$|
|
|
6
|
+
# We don't want to mess with tool-generated files
|
|
7
|
+
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
|
|
8
|
+
# Maybe reactivate this when all README files include prettier ignore tags?
|
|
9
|
+
^README\.md$|
|
|
10
|
+
# Repos using Sphinx to generate docs don't need prettying
|
|
11
|
+
^docs/_templates/.*\.html$|
|
|
12
|
+
# Don't bother non-technical authors with formatting issues in docs
|
|
13
|
+
readme/.*\.(rst|md)$|
|
|
14
|
+
# Ignore build and dist directories in addons
|
|
15
|
+
/build/|/dist/|/dev/|/notebooks/
|
|
16
|
+
# You don't usually want a bot to modify your legal texts
|
|
17
|
+
(LICENSE.*|COPYING.*)|
|
|
18
|
+
default_language_version:
|
|
19
|
+
python: python3
|
|
20
|
+
repos:
|
|
21
|
+
- repo: local
|
|
22
|
+
hooks:
|
|
23
|
+
- id: ruff-check
|
|
24
|
+
name: ruff check
|
|
25
|
+
entry: ruff check --exit-non-zero-on-fix --force-exclude
|
|
26
|
+
language: system
|
|
27
|
+
types_or: [python, pyi]
|
|
28
|
+
- id: ruff-format
|
|
29
|
+
name: ruff format
|
|
30
|
+
entry: ruff format --force-exclude
|
|
31
|
+
language: system
|
|
32
|
+
types_or: [python, pyi]
|
|
33
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
34
|
+
rev: v3.21.2
|
|
35
|
+
hooks:
|
|
36
|
+
- id: pyupgrade
|
|
37
|
+
args: [--py310-plus]
|
|
38
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
39
|
+
rev: v6.0.0
|
|
40
|
+
hooks:
|
|
41
|
+
- id: check-toml
|
|
42
|
+
- id: check-yaml
|
|
43
|
+
- id: end-of-file-fixer
|
|
44
|
+
- id: trailing-whitespace
|
|
45
|
+
- id: check-symlinks
|
|
46
|
+
- id: check-xml
|
|
47
|
+
- id: mixed-line-ending
|
|
48
|
+
args: ["--fix=lf"]
|
|
49
|
+
- id: debug-statements
|
|
50
|
+
- id: check-case-conflict
|
|
51
|
+
- id: check-docstring-first
|
|
52
|
+
- id: check-executables-have-shebangs
|
|
53
|
+
- id: check-merge-conflict
|
|
54
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
55
|
+
rev: v4.0.0-alpha.8
|
|
56
|
+
hooks:
|
|
57
|
+
- id: prettier
|
|
58
|
+
name: prettier (with plugin-xml)
|
|
59
|
+
additional_dependencies:
|
|
60
|
+
- "prettier@2.7.1"
|
|
61
|
+
- "@prettier/plugin-xml@2.2.0"
|
|
62
|
+
args:
|
|
63
|
+
- --plugin=@prettier/plugin-xml
|
|
64
|
+
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
|