2048/pyproject.toml
2024-01-03 03:58:38 +02:00

43 lines
892 B
TOML

[project]
name = "2048"
version = "0.1.0"
description = "2048 game with AI"
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
readme = "README.md"
requires-python = ">=3.11"
license = { text = "GPLv3" }
dependencies = [
"pygame-ce==2.3.2",
"loguru==0.7.2",
"attrs==23.1.0",
"neat-python>=0.92",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
no_implicit_reexport = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
[tool.ruff]
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["I"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = 40