-
Notifications
You must be signed in to change notification settings - Fork 158
/
Copy pathpyproject.toml
85 lines (73 loc) · 2.33 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
79
80
81
82
83
84
85
[build-system]
requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"
[project]
name = "pygambit"
version = "16.3.0"
description = "The package for computation in game theory"
readme = "src/README.rst"
requires-python = ">=3.9"
license = "GPL-2.0-or-later"
authors = [
{name = "Theodore Turocy", email = "[email protected]"},
{name = "Rahul Savani", email = "[email protected]"}
]
keywords = ["game theory", "Nash equilibrium"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics"
]
dependencies = [
"numpy",
"scipy",
]
[project.urls]
Homepage = "https://www.gambit-project.org"
Documentation = "https://gambitproject.readthedocs.io"
Repository = "https://github.com/gambitproject/gambit.git"
Issues = "https://github.com/gambitproject/gambit/issues"
Changelog = "https://github.com/gambitproject/gambit/blob/master/ChangeLog"
[tool.ruff]
line-length = 99
indent-width = 4
target-version = "py39"
include = ["setup.py", "src/pygambit/**/*.py", "tests/**/*.py"]
exclude = ["contrib/**.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
"Q", # prefer double quotes
]
ignore = []
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.cython-lint]
max-line-length = 99
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
"nash_enummixed_strategy: tests of enummixed_solve in strategies",
"nash_lcp_strategy: tests of lcp_solve in strategies",
"nash_lcp_behavior: tests of lcp_solve in behaviors",
"nash_lp_strategy: tests of lp_solve in strategies",
"nash_lp_behavior: tests of lp_solve in behaviors",
"nash: all tests of Nash equilibrium solvers",
"slow: all time-consuming tests",
]