-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (64 loc) · 1.57 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
[project]
name = "styled-prose"
version = "1.0.0"
description = "Generate images and thumbnails based on bitmap transformations of rendered prose"
authors = [
{name = "thearchitector", email = "me@eliasfgabriel.com"},
]
license = {text = "BSD-3-Clause"}
readme = "README.md"
keywords = [
"prose",
"text",
"writing",
"pdf",
"typography",
"fonts",
"art",
"image",
"render",
"pillow",
"pdf2image",
"tgf",
"the-glass-files"
]
requires-python = ">=3.8"
dependencies = [
"reportlab>=4.0.0",
"tomli>=2.0.0 ; python_version<'3.11'",
"pydantic>=2.0.0",
"httpx[http2]>=0.25.2",
"pdf2image>=1.16.3",
"Pillow>=10.1.0",
]
[project.urls]
homepage = "https://styledprose.thearchitector.dev"
documentation = "https://styledprose.thearchitector.dev"
changelog = "https://github.com/thearchitector/styled-prose/blob/main/CHANGELOG.md"
repository = "https://github.com/thearchitector/styled-prose"
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.0.0",
"mypy>=1.7.1",
"types-Pillow>=10.1.0",
"pytest-mock>=3.12.0",
"respx>=0.20.2",
"pdoc>=14.2.0",
]
[tool.pdm.scripts]
docs = "pdoc -t templates -o docs --no-search --no-show-source --no-include-undocumented styled_prose"
[tool.ruff]
target-version = "py38"
extend-select = ["I", "B"]
[tool.mypy]
python_version = "3.8"
strict = true
[tool.pytest.ini_options]
addopts = "-ra -svv"
testpaths = ["tests"]
[[tool.mypy.overrides]]
module = ["reportlab.*", "tomllib.*"]
ignore_missing_imports = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"