roll/pyproject.toml

67 lines
1.5 KiB
TOML
Raw Normal View History

2023-08-10 01:02:53 +00:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "roll"
description = "for initiative!"
readme = "README.md"
requires-python = ">=3.8"
keywords = []
# license-files = { paths = ["LICENSE.txt"] }
authors = [
{ name = "mat ess", email = "mat@mat.services" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"click",
]
dynamic = ["version"]
[project.urls]
Documentation = "https://git.mat.services/mat/roll#readme"
Issues = "https://git.mat.services/mat/roll/issues"
Source = "https://git.mat.services/mat/roll"
[project.scripts]
roll = "roll.cli:roll"
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=roll --cov=tests {args}"
no-cov = "cov --no-cov {args}"
[[tool.hatch.envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
[tool.hatch.version]
path = "roll/__about__.py"
[tool.coverage.run]
branch = true
parallel = true
omit = [
"roll/__about__.py",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]