67 lines
1.3 KiB
TOML
67 lines
1.3 KiB
TOML
# SPDX-FileCopyrightText: 2025 2025
|
||
# SPDX-FileContributor: Gergely Polonkai
|
||
#
|
||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
||
[project]
|
||
name = "gm-assistant"
|
||
version = "0.1.0"
|
||
description = "Game Master’s Assistant"
|
||
authors = [
|
||
{name = "Gergely Polonkai",email = "gergely@polonkai.eu"}
|
||
]
|
||
license = {text = "GPL-3.0-or-later"}
|
||
readme = "README.md"
|
||
requires-python = "~3.13"
|
||
dependencies = [
|
||
"pyyaml (>=6.0.2,<7.0.0)"
|
||
]
|
||
|
||
[tool.poetry.group.dev.dependencies]
|
||
black = "^25.1.0"
|
||
commitizen = "^4.8.0"
|
||
isort = "^6.0.1"
|
||
mypy = "^1.15.0"
|
||
pre-commit = "^4.2.0"
|
||
pylint = "^3.3.7"
|
||
pytest = "^8.3.5"
|
||
pytest-cov = "^6.1.1"
|
||
pytest-mock = "^3.14.0"
|
||
reuse = "^5.0.2"
|
||
types-pyyaml = "^6.0.12.20250516"
|
||
|
||
[tool.black]
|
||
line-length = 120
|
||
|
||
[tool.commitizen]
|
||
name = "cz_conventional_commits"
|
||
tag_format = "$version"
|
||
version_scheme = "pep440"
|
||
version_provider = "poetry"
|
||
update_changelog_on_bump = true
|
||
major_version_zero = true
|
||
|
||
[tool.coverage.report]
|
||
show_missing = true
|
||
skip_covered = true
|
||
fail_under = 100
|
||
omit = ["examples/*"]
|
||
|
||
[tool.coverage.run]
|
||
branch = true
|
||
|
||
[tool.isort]
|
||
force_sort_within_sections = true
|
||
line_length = 120
|
||
profile = "black"
|
||
|
||
[tool.pylint.format]
|
||
max-line-length = 120
|
||
|
||
[tool.pytest.ini_options]
|
||
addopts = "--cov=. --no-cov-on-fail"
|
||
|
||
[build-system]
|
||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||
build-backend = "poetry.core.masonry.api"
|