-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (55 loc) · 1.95 KB
/
pyproject.toml
File metadata and controls
65 lines (55 loc) · 1.95 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
[project]
name = "mindsight"
version = "0.4.0b1"
description = "Real-time multi-person gaze tracking and attention analysis platform"
requires-python = ">=3.10"
license = "AGPL-3.0-or-later"
authors = [{name = "MindSight Contributors"}]
keywords = ["gaze-tracking", "eye-tracking", "attention-analysis", "computer-vision"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Image Recognition",
]
[project.urls]
Repository = "https://github.com/kylen-d/mindsight"
Issues = "https://github.com/kylen-d/mindsight/issues"
Changelog = "https://github.com/kylen-d/mindsight/blob/main/CHANGELOG.md"
[project.scripts]
mindsight = "ms.cli:main"
mindsight-gui = "ms.gui:main"
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["ms", "ms.*", "Plugins", "Plugins.*"]
[tool.black]
line-length = 99
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 99
[tool.ruff]
line-length = 99
target-version = "py310"
extend-exclude = [
"ms/GazeTracking/Backends/MGaze/gaze-estimation", # upstream third-party code
"Plugins/GazeTracking/Gazelle/gazelle", # upstream third-party code
]
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = [
"E501", # line too long (handled by formatter)
"E701", # multiple statements on one line (colon) -- used for compact guards
"E702", # multiple statements on one line (semicolon) -- used for compact init
"E731", # lambda assignment -- used for short callbacks
]
[tool.ruff.lint.per-file-ignores]
"ms/GazeTracking/Backends/MGaze/MGaze_Tracking.py" = ["E402"]
"ms/ObjectDetection/model_factory.py" = ["E402"]
"Plugins/GazeTracking/Gazelle/gazelle_backend.py" = ["E402"]
[tool.pytest.ini_options]
testpaths = ["tests"]