Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
hooks:
- id: ruff-format
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
Expand Down
4 changes: 3 additions & 1 deletion py/test/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def check_output(self, jpath: str, text: str = "go forward ten meters") -> None:
self.assertTrue(result)
self.assertEqual(result["t"], text)
for word, ref in zip(
(w for w in result["w"] if w["t"] != "<sil>"), text.split()
(w for w in result["w"] if w["t"] != "<sil>"),
text.split(),
strict=False,
):
self.assertEqual(baseword(word), ref)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name = "soundswallower"
dynamic = ["version"]
description = "An even smaller speech recognizer"
readme = "README.md"
requires-python = ">= 3.10"
authors = [
{name = "David Huggins-Daines", email = "[email protected]"}
]
Expand All @@ -20,7 +21,6 @@ classifiers = [
"Programming Language :: C",
"Programming Language :: Cython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
Loading