phase-of-the-moon/pyproject.toml

63 lines
1.6 KiB
TOML
Raw Normal View History

2024-11-01 21:30:04 +00:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "phase-of-the-moon"
dynamic = ["version"]
description = 'Displays a message depending on the current phase of the moon.'
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
keywords = []
authors = [
{ name = "Zoé Cassiopée Gauthier", email = "zoe.gauthier@blorp.dev" },
]
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 :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = []
[project.urls]
Source = "https://git.blorp.dev/zo/phase-of-the-moon"
[project.scripts]
nh-phase-of-the-moon = "phase_of_the_moon:main"
[tool.hatch.version]
path = "src/phase_of_the_moon/__about__.py"
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/phase_of_the_moon tests}"
[tool.coverage.run]
source_pkgs = ["phase_of_the_moon", "tests"]
branch = true
parallel = true
omit = [
"src/phase_of_the_moon/__about__.py",
]
[tool.coverage.paths]
phase_of_the_moon = ["src/phase_of_the_moon", "*/phase-of-the-moon/src/phase_of_the_moon"]
tests = ["tests", "*/phase-of-the-moon/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]