Skip to content

Commit 8bee6b0

Browse files
authored
Merge pull request #57 from speechmatics/fix/tts-formatting-and-tests
Add format fixes for TTS
2 parents 418d808 + 81511fd commit 8bee6b0

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/workflows/test.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,23 @@ jobs:
6969
run: make test-flow
7070
- name: Build Flow SDK
7171
run: make build-flow
72+
73+
test-tts:
74+
name: Test TTS SDK
75+
runs-on: ubuntu-latest
76+
strategy:
77+
matrix:
78+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
79+
steps:
80+
- uses: actions/checkout@v4
81+
- uses: actions/setup-python@v5
82+
with:
83+
python-version: ${{ matrix.python-version }}
84+
- name: Install dependencies
85+
run: make install-dev
86+
- name: Lint TTS SDK
87+
run: make lint-tts
88+
- name: Test TTS SDK
89+
run: make test-tts
90+
- name: Build TTS SDK
91+
run: make build-tts

sdk/rt/speechmatics/rt/_async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async def stop_session(self) -> None:
163163

164164
async def force_end_of_utterance(self) -> None:
165165
"""
166-
This method sends a ForceEndOfUtterance message to the server to signal
166+
This method sends a ForceEndOfUtterance message to the server to signal
167167
the end of an utterance. Forcing end of utterance will cause the final
168168
transcript to be sent to the client early.
169169

sdk/tts/speechmatics/tts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
"ConnectionConfig",
2727
"Voice",
2828
"OutputFormat",
29-
]
29+
]

0 commit comments

Comments
 (0)