-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (68 loc) · 1.41 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
requires = ["maturin>=0.14,<0.15"]
build-backend = "maturin"
[project]
name = "xecs"
dependencies = [
"numpy",
]
requires-python = ">=3.11"
readme = "README.rst"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
description = "A fast and ergonomic ECS library for Python, written in Rust."
[project.urls]
github = "https://github.com/lukasturcani/xecs"
documentation = "https://xecs.readthedocs.io"
[project.optional-dependencies]
dev = [
"black",
"ruff",
"mypy",
"pygame",
"pygame-widgets",
"pytest",
"pytest-benchmark",
"pytest-cov",
"sphinx",
"sphinx-copybutton",
"furo",
"xecs-pygame",
"sphinxcontrib-youtube",
]
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "python"
[tool.mypy]
show_error_codes = true
implicit_optional = false
warn_no_return = true
strict_optional = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
warn_unreachable = true
disallow_any_generics = true
[[tool.mypy.overrides]]
module = [
"pygame_widgets.*",
]
ignore_missing_imports = true
[tool.black]
line-length = 79
[tool.pytest.ini_options]
testpaths = [
"tests",
]
python_files = [
"test_*.py",
"benchmark_*.py"
]
python_functions = [
"test_*",
"benchmark_*"
]