-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
94 lines (81 loc) · 1.98 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
86
87
88
89
90
91
92
93
94
[build-system]
requires = [
"setuptools>=61.2",
"setuptools_scm[toml]>=3.4.3"
]
build-backend = "setuptools.build_meta"
[project]
name = "open-prime-rando"
description = "An open source randomizer patcher for Metroid Prime 2 and 3."
authors = [{name = "Henrique Gemignani"}]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"retro-data-structures>=0.28.0",
"jsonschema>=4.0.0",
"ppc-asm",
"py_randomprime", # for Prime 1 symbols
]
# Entry Points for PyInstaller
[project.entry-points.pyinstaller40]
hook-dirs = "open_prime_rando.__pyinstaller:get_hook_dirs"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
"pre-commit",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/randovania/open-prime-rando"
[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/open_prime_rando/version.py"
git_describe_command = "git describe --dirty --tags --long --match v[0-9]*"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
# asyncio_mode = "auto"
xfail_strict = true
filterwarnings = [
"error",
"ignore::DeprecationWarning",
]
[tool.ruff]
line-length = 120
target-version = "py310"
src = ["src"]
[tool.ruff.lint]
select = [
"E", "F", "W", "C90", "I", "UP", "C4",
"RSE",
"TCH",
"PTH",
"COM818", "COM819",
"ISC",
"PIE",
"PT",
"PLC",
"PLE",
"PLR0402", "PLR1701", "PLR1711", "PLR1722", "PLR0206",
"PLR0133", "PLR0124",
"PLW",
]
extend-ignore = [
"ISC001", # may cause conflicts with formatter
]