-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.59 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (95 loc) · 2.59 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "led-ticker-core"
dynamic = ["version"]
description = "Asyncio LED matrix display for news, weather, crypto, and more"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.14"
authors = [
{ name = "James Awesome", email = "james@morelli.nyc" },
]
keywords = [
"raspberry-pi",
"led-matrix",
"rgb-led-matrix",
"hub75",
"adafruit",
"led-sign",
"led-ticker",
"led-display",
"rpi-rgb-led-matrix",
"asyncio",
"pixel-art",
"scrolling-text",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
"Operating System :: POSIX :: Linux",
"Topic :: Multimedia :: Graphics",
"Topic :: System :: Hardware",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
]
dependencies = [
"Pillow>=10.0",
"aiohttp>=3.9",
"attrs>=23.0",
"feedparser>=6.0",
"tomli-w>=1.0",
]
[project.optional-dependencies]
render = [
"imageio>=2.31",
"tomli-w>=1.0",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"pytest-mock>=3.12",
"pre-commit>=4.0",
"ruff>=0.4",
"pyright>=1.1",
]
[project.scripts]
led-ticker = "led_ticker.app:main"
[project.urls]
Homepage = "https://docs.ledticker.dev"
Repository = "https://github.com/JamesAwesome/led-ticker"
Issues = "https://github.com/JamesAwesome/led-ticker/issues"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
# The Docker deps layer (and a bare `docker compose build`) has no .git and no
# PRETEND_VERSION; without a fallback, setuptools-scm raises instead of building.
# A real build resolves from git/tag or the host-passed PRETEND_VERSION — this is
# only the last resort. No version-file hook: it would write src/led_ticker/
# _version.py, which fails in the deps layer where src/ isn't copied yet, so
# led_ticker.__version__ reads importlib.metadata instead.
fallback_version = "0.0.0"
[tool.hatch.build.targets.wheel]
packages = ["src/led_ticker"]
[tool.pytest.ini_options]
testpaths = ["tests", "tools/render_demo", "tools/gif_plan"]
pythonpath = ["tests/stubs"]
asyncio_mode = "auto"
markers = [
"slow: marks tests as slow (spawns a subprocess; requires uv in PATH)",
]
[tool.pyright]
pythonPlatform = "All"
pythonVersion = "3.14"
extraPaths = ["tests/stubs"]
[tool.ruff]
target-version = "py314"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.coverage.report]
fail_under = 90