test: add unit tests for brevity bonus and blank start linguistic match

This commit is contained in:
2026-04-24 15:20:29 +02:00
parent 2b0d0840a8
commit 6edd2a18fb
9 changed files with 1110 additions and 718 deletions

View File

@@ -41,6 +41,7 @@ dev = [
"pytest-asyncio",
"pytest-cov",
"hypothesis",
"diff-cover",
]
[tool.pytest.ini_options]
@@ -58,7 +59,7 @@ source = ["GramAddict"]
omit = ["GramAddict/plugins/*", "*/test_*"]
[tool.coverage.report]
fail_under = 60
fail_under = 30
show_missing = true
exclude_lines = [
"pragma: no cover",
@@ -78,4 +79,4 @@ ignore = ["E501"]
Source = "https://github.com/marcmintel/grampilot"
[project.scripts]
grampilot = "GramAddict.__main__:main"
grampilot = "GramAddict.__main__:main"