-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
94 lines (82 loc) · 2.48 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
[project]
name = "luxonis-train"
description = "Luxonis training framework for seamless training of various neural networks."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Luxonis", email = "[email protected]" }]
maintainers = [{ name = "Luxonis", email = "[email protected]" }]
keywords = ["ml", "training", "luxonis", "oak"]
dynamic = ["dependencies", "optional-dependencies", "version"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
]
[project.scripts]
luxonis_train = "luxonis_train.__main__:app"
[project.urls]
repository = "https://github.com/luxonis/luxonis-train"
issues = "https://github.com/luxonis/luxonis-train/issues"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
optional-dependencies = { dev = { file = ["requirements-dev.txt"] } }
version = {attr = "luxonis_train.__version__"}
[tool.ruff]
target-version = "py310"
line-length = 79
indent-width = 4
[tool.ruff.lint]
ignore = ["F403", "B028", "B905", "D1", "W191"]
select = ["E4", "E7", "E9", "F", "W", "B", "I"]
[tool.docformatter]
black = true
style = "epytext"
wrap-summaries = 72
wrap-descriptions = 72
[tool.pyright]
typeCheckingMode = "basic"
reportMissingTypeStubs = "none"
reportPrivateImportUsage = "none"
reportPrivateUsage = "none"
reportIncompatibleVariableOverride = "none"
reportIncompatibleMethodOverride = "none"
reportUnnecessaryIsInstance = "none"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--disable-warnings"
markers = [
"unit: mark a test as a unit test",
"integration: mark a test as an integration test",
]
[tool.coverage.run]
omit = [
"**/__main__.py",
"**/gpu_stats_monitor.py"
]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"def __rich_repr__",
"def __str__",
"assert",
"raise NotImplementedError",
"except NotImplementedError",
"except ImportError",
"@abstractmethod",
"@overload",
"exit\\(\\)",
"cv2\\.imshow",
"cv2\\.waitKey",
"logger\\.",
]