[project]
name = "typoglycemia"
version = "0.1.1"
description = "A Python package for scrambling the inner letters of words in a sentence while keeping the first and last letters in place."
authors = [
    { name = "hooli-dev", email = "t.hooli.jp@gmail.com" }
]
dependencies = []
readme = "README.md"
requires-python = ">= 3.8"
[project.urls]
Repository = "https://github.com/hooli-dev/typoglycemia"

[project.scripts]
"typoglycemia" = "typoglycemia.main:cli"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = [
    "pytest>=8.3.3",
    "coverage>=7.6.1",
]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["src/typoglycemia"]

[tool.coverage.run]
source = ["src/typoglycemia", "tests"]
omit = ["*/__main__.py"]

[tool.coverage.report]
show_missing = true
# fail_under = 100

[tool.pytest.ini_options]
log_cli = false
log_level = "INFO"
addopts = "--verbose --color=yes"
testpaths = "tests"
junit_family = "xunit2"
junit_logging = "all"
asyncio_mode = "strict"
xfail_strict = true
