36 lines
689 B
TOML
36 lines
689 B
TOML
[project]
|
|
name = "hosts"
|
|
version = "0.1.0"
|
|
description = "A Python TUI application for managing /etc/hosts files"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"textual>=5.0.1",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.4.1",
|
|
"pytest-asyncio>=0.21.0",
|
|
"ruff>=0.12.5",
|
|
"ty>=0.0.78",
|
|
]
|
|
|
|
[project.scripts]
|
|
hosts = "hosts.main:main"
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/hosts"]
|
|
|
|
[tool.pytest.ini_options]
|
|
filterwarnings = [
|
|
"error:coroutine .* was never awaited:RuntimeWarning",
|
|
"error::pytest.PytestUnraisableExceptionWarning",
|
|
]
|