2024-01-20 20:33:34 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "nucuttrpgbot"
|
|
|
|
dynamic = ["version"]
|
|
|
|
description = 'A Discord BOT for TableTop Roleplaying Games!'
|
|
|
|
readme = "README.md"
|
2024-01-21 20:25:05 +00:00
|
|
|
requires-python = ">=3.11"
|
2024-01-20 20:33:34 +00:00
|
|
|
license = "MIT"
|
|
|
|
keywords = []
|
|
|
|
authors = [
|
|
|
|
{ name = "dnutiu", email = "denis.nutiu@gmail.com" },
|
|
|
|
]
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
|
|
]
|
2024-01-21 19:37:43 +00:00
|
|
|
dependencies = [
|
2024-01-22 18:16:30 +00:00
|
|
|
"TatSu==5.11.3",
|
2024-01-23 20:05:50 +00:00
|
|
|
"disnake==2.9.1",
|
|
|
|
"pydantic==2.5.3",
|
|
|
|
"pydantic-settings==2.1.0",
|
|
|
|
"pydantic_core==2.14.6",
|
|
|
|
"PyYAML==6.0.1"
|
2024-01-21 19:37:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
dev = [
|
|
|
|
"black",
|
|
|
|
]
|
2024-01-20 20:33:34 +00:00
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Documentation = "https://github.com/unknown/nucuttrpgbot#readme"
|
|
|
|
Issues = "https://github.com/unknown/nucuttrpgbot/issues"
|
|
|
|
Source = "https://github.com/unknown/nucuttrpgbot"
|
|
|
|
|
|
|
|
[tool.hatch.version]
|
|
|
|
path = "src/nucuttrpgbot/__about__.py"
|
|
|
|
|
|
|
|
[tool.hatch.envs.default]
|
|
|
|
dependencies = [
|
|
|
|
"coverage[toml]>=6.5",
|
|
|
|
"pytest",
|
|
|
|
]
|
|
|
|
[tool.hatch.envs.default.scripts]
|
|
|
|
test = "pytest {args:tests}"
|
|
|
|
test-cov = "coverage run -m pytest {args:tests}"
|
|
|
|
cov-report = [
|
|
|
|
"- coverage combine",
|
|
|
|
"coverage report",
|
|
|
|
]
|
|
|
|
cov = [
|
|
|
|
"test-cov",
|
|
|
|
"cov-report",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[tool.hatch.envs.all.matrix]]
|
2024-01-21 20:25:05 +00:00
|
|
|
python = ["3.11", "3.12"]
|
2024-01-20 20:33:34 +00:00
|
|
|
|
|
|
|
[tool.hatch.envs.types]
|
|
|
|
dependencies = [
|
|
|
|
"mypy>=1.0.0",
|
|
|
|
]
|
|
|
|
[tool.hatch.envs.types.scripts]
|
|
|
|
check = "mypy --install-types --non-interactive {args:src/nucuttrpgbot tests}"
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
source_pkgs = ["nucuttrpgbot", "tests"]
|
|
|
|
branch = true
|
|
|
|
parallel = true
|
|
|
|
omit = [
|
|
|
|
"src/nucuttrpgbot/__about__.py",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.coverage.paths]
|
|
|
|
nucuttrpgbot = ["src/nucuttrpgbot", "*/nucuttrpgbot/src/nucuttrpgbot"]
|
|
|
|
tests = ["tests", "*/nucuttrpgbot/tests"]
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
exclude_lines = [
|
|
|
|
"no cov",
|
|
|
|
"if __name__ == .__main__.:",
|
|
|
|
"if TYPE_CHECKING:",
|
|
|
|
]
|