-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (84 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
91 lines (84 loc) · 2.17 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
[project]
name = "gamecov"
version = "0.2.1"
description = "Coverage monitoring for directed game play-testing (Game-Fuzz)"
readme = "README.md"
authors = [{ name = "Yifeng He", email = "yfhe.prsn@gmail.com" }]
requires-python = ">=3.11"
dependencies = [
"av>=15.0.0",
"deprecated>=1.2.18",
"hypothesis>=6.136.7",
"imagehash>=4.3.2",
"imageio[ffmpeg]>=2.37.0",
"numpy>=2.0.0",
"opencv-python>=4.11.0.86",
"pillow>=11.3.0",
"pytest>=8.4.1",
"returns[compatible-mypy]>=0.25.0",
"scikit-image>=0.25.2",
"stitching==0.6.1",
"typer-slim>=0.21.1",
"types-deprecated>=1.2.15.20250304",
]
[build-system]
requires = ["maturin>=1.9,<2.0"]
build-backend = "maturin"
[tool.maturin]
python-source = "src"
module-name = "gamecov._gamecov_core"
features = ["pyo3/extension-module"]
[tool.pylint.messages_control]
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
"logging-fstring-interpolation",
"unused-import",
"ungrouped-imports",
"subprocess-run-check",
"too-many-instance-attributes",
"missing-module-docstring",
"unnecessary-ellipsis", # pylint cannot work with typed Protocol
]
fail-under = 9
[tool.pylint.typecheck]
generated-members = ["cv2.*", "skimage.metrics.*"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = true
allow_redefinition = false
ignore_errors = false
implicit_reexport = false
local_partial_types = true
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = false
plugins = ["returns.contrib.mypy.returns_plugin"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--benchmark-disable"
[dependency-groups]
dev = [
"mypy>=1.15.0",
"pre-commit>=4.5.1",
"pytest-benchmark>=5.1.0",
"pytest-cov>=6.2.1",
"pytest-profiling>=1.8.1",
"pytest-xdist>=3.8.0",
"ruff>=0.15.0",
]
[tool.ruff]
exclude = ["tests/"]