mirror of
https://github.com/kristoferssolo/2048.git
synced 2025-10-21 15:20:35 +00:00
43 lines
892 B
TOML
43 lines
892 B
TOML
[project]
|
|
name = "2048"
|
|
version = "0.0.5"
|
|
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
|