mirror of
https://github.com/LizardByte/GameDB.git
synced 2026-10-23 03:36:51 +09:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
74 lines
1.5 KiB
TOML
74 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "gamedb"
|
|
version = "0.0.0"
|
|
description = "Game Database - Jekyll static site with IGDB data"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = {text = "AGPL-3.0-only"}
|
|
authors = [
|
|
{name = "LizardByte", email = "lizardbyte@users.noreply.github.com"}
|
|
]
|
|
|
|
dependencies = [
|
|
"igdb-api-v4==0.3.3",
|
|
"python-dotenv==1.2.4",
|
|
"requests==2.34.2",
|
|
"requests-cache==1.3.3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"flake8==7.4.1",
|
|
"pytest==9.1.1",
|
|
"pytest-cov==7.1.0",
|
|
"requests-mock==1.12.1",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://LizardByte.github.io/GameDB"
|
|
Repository = "https://github.com/LizardByte/GameDB"
|
|
Issues = "https://github.com/LizardByte/GameDB/issues"
|
|
|
|
[tool.setuptools]
|
|
packages = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = [
|
|
"-rxXs",
|
|
"--tb=native",
|
|
"--verbose",
|
|
"--color=yes",
|
|
"--cov=src",
|
|
"--cov-report=term-missing",
|
|
"--cov-report=xml:coverage/python-coverage.xml",
|
|
"--junitxml=junit-python.xml",
|
|
"-o", "junit_family=legacy",
|
|
]
|
|
|
|
[tool.coverage.run]
|
|
source = ["src"]
|
|
omit = [
|
|
"*/tests/*",
|
|
"*/__pycache__/*",
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"def __repr__",
|
|
"raise AssertionError",
|
|
"raise NotImplementedError",
|
|
"if __name__ == .__main__.:",
|
|
"if TYPE_CHECKING:",
|
|
"@abstractmethod",
|
|
]
|