-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (39 loc) · 935 Bytes
/
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
[project]
name = "nightstorm"
version = "0.1.0"
description = "A theme utilizing the Oklab color space."
authors = [
{name = "Okko Hartikainen", email = "okko.hartikainen@yandex.com"},
]
dependencies = ["skia-python>=87.6", "shapely>=2.0.7"]
requires-python = "==3.11.*"
readme = "README.md"
license = {text = "MIT"}
[project.optional-dependencies]
plot = [
"matplotlib>=3.10.0",
"pyqt6>=6.8.1",
]
[tool.pdm]
distribution = true
[dependency-groups]
dev = [
"pylint>=3.3.4",
"pytest>=8.3.4",
]
[tool.pdm.scripts]
generate.composite = [
"python -m nightstorm.generate_themes",
"python -m nightstorm.generate_icon",
]
plot = "python -m nightstorm.plot"
lint = "pylint src/ tests/"
test = "pytest"
terminal_colors = """python3 -c '
print("\\n".join(
"".join(f"\\033[{x}m \\033[0m" for x in range(*r))
for r in [(40, 48), (100, 108)]
))
'"""
[tool.pylint.MAIN]
extension-pkg-allow-list = ["skia"]