-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (84 loc) · 2.52 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (84 loc) · 2.52 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "PyDiffGame"
version = "2.0.4"
authors = [
{ name = "Joshua Shay Kricheli", email = "skricheli2@gmail.com" },
]
description = "Nash-equilibrium solutions to linear-quadratic differential games, via a reduction of the Game Hamilton-Jacobi-Bellman equations to coupled algebraic and differential Riccati equations for multi-objective dynamical control systems."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
keywords = [
"differential-games",
"nash-equilibrium",
"optimal-control",
"lqr",
"riccati",
"control-theory",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.24",
"scipy>=1.10",
"matplotlib>=3.7",
"tqdm>=4.63",
]
[project.optional-dependencies]
examples = [
"control>=0.10",
]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.6",
"mypy>=1.10",
"pre-commit>=3.7",
"control>=0.10",
]
[project.urls]
"Homepage" = "https://krichelj.github.io/PyDiffGame/"
"Repository" = "https://github.com/krichelj/PyDiffGame"
"Bug Tracker" = "https://github.com/krichelj/PyDiffGame/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/PyDiffGame"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
filterwarnings = ["error::SyntaxWarning"]
[tool.ruff]
line-length = 110
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "NPY"]
# Math-heavy code: allow ambiguous single-letter names (A, B, Q, R, P, K, l...)
# and the equal-length zips that are pervasive in the matrix recurrences.
ignore = ["E741", "B905"]
[tool.ruff.lint.per-file-ignores]
"src/PyDiffGame/examples/*" = ["E501"]
"tests/*" = ["F401", "F811"]
[tool.ruff.format]
# Black-compatible formatting (ruff format is a drop-in for black), plus
# formatting of code blocks inside docstrings.
docstring-code-format = true
[tool.mypy]
python_version = "3.11"
packages = ["PyDiffGame"]
ignore_missing_imports = true
warn_unused_ignores = true