Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (75 loc) · 2.21 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (75 loc) · 2.21 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
[build-system]
requires = ["setuptools >= 77.0"]
build-backend = "setuptools.build_meta"
[project]
name = "blink1"
version = "1.1.0"
description = "Official blink(1) control library"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{ name = "Salim Fadhley", email = "salimfadhley@gmail.com" },
{ name = "Tod E. Kurt", email = "todbotdotcom@gmail.com" },
]
keywords = ["blink1", "blink(1)", "usb", "hid", "led", "rgb", "notification"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Hardware",
]
dependencies = [
"click>=8.0",
"hidapi>=0.13.1",
"webcolors>=1.13",
]
[project.optional-dependencies]
dev = [
"build",
"mypy",
"pytest>=8",
"ruff",
"twine",
]
[project.scripts]
blink1-flash = "blink1.flash:flash"
blink1-shine = "blink1.shine:shine"
[project.urls]
Homepage = "https://github.com/todbot/blink1-python"
Source = "https://github.com/todbot/blink1-python"
Issues = "https://github.com/todbot/blink1-python/issues"
Changelog = "https://github.com/todbot/blink1-python/releases"
[tool.setuptools.packages.find]
where = ["."]
include = ["blink1"]
[tool.setuptools.package-data]
blink1 = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["blink1_tests"]
addopts = "--strict-markers"
markers = [
"hardware: requires a physical blink(1) device (run with --run-hardware)",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "B"]
[tool.ruff.lint.per-file-ignores]
# The demos are kept deliberately plain; their style debt is not enforced.
"blink1_demo/*" = ["E401", "E703", "E722"]
"blink1_tests/hidapitest0.py" = ["E401", "E703"]
[tool.mypy]
files = ["blink1"]
[[tool.mypy.overrides]]
module = ["hid", "webcolors"]
ignore_missing_imports = true