forked from edgeimpulse/linux-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 1.73 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (71 loc) · 1.73 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "edge_impulse_linux"
version = "1.2.2"
dynamic = ["readme"]
requires-python = ">=3.10"
description = "Python runner for real-time ML classification"
authors = [
{ name = "EdgeImpulse Inc.", email = "hello@edgeimpulse.com" },
]
license = { file = "LICENSE" }
keywords = ["edge-impulse", "machine-learning", "embedded", "linux"]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = []
[project.optional-dependencies]
audio = [
"numpy>=1.19.5,<3",
"pyaudio>=0.2.11,<0.3",
]
image = [
"opencv-python-headless>=4.5.1",
"psutil>=5.8.0",
]
all = [
"edge_impulse_linux[audio]",
"edge_impulse_linux[image]",
]
[project.urls]
Homepage = "https://www.edgeimpulse.com"
"Bug Tracker" = "https://github.com/edgeimpulse/linux-sdk-python/issues"
Repository = "https://github.com/edgeimpulse/linux-sdk-python"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.dynamic]
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
preview = true
[tool.ruff.lint]
select = ["E", "W", "F", "I", "D", "C90"]
ignore = [
"E402", # Module level import not at top of file
"E722", # Do not use bare except
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107", # Missing docstrings
"D202",
"D212",
"E501", # Line too long
]
[tool.ruff.lint.mccabe]
max-complexity = 22
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Unused import
[tool.ruff.lint.pydocstyle]
convention = "google"