Files
PyTaiko/pyproject.toml
Yonokid c36be89728 test
2025-12-27 18:39:50 -05:00

62 lines
1.2 KiB
TOML

[project]
name = "pytaiko"
version = "1.1"
description = "Taiko no Tatsujin simulator written in python and raylib"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"av>=16.0.1",
"pypresence>=4.6.1",
"pytest>=9.0.2",
"raylib-sdl>=5.5.0.2",
"tomlkit>=0.13.3",
]
[tool.pytest.ini_options]
testpaths = ["test"]
pythonpath = ["."]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = [
"-v",
"--strict-markers",
"--tb=short",
"--color=yes",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.coverage.run]
source = ["libs"]
omit = [
"*/test/*",
"*/__pycache__/*",
"*/venv/*",
"*/.venv/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.vulture]
exclude = ["*.git", ".github/", ".venv/", "cache/"]
paths = ["."]
[dependency-groups]
dev = [
"nuitka>=2.8.4",
"pytest-cov>=6.0.0",
]