-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (67 loc) · 1.62 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
74
75
76
77
[tool.poetry]
name = "pdfje"
version = "0.6.1"
description = "Write beautiful PDFs in declarative Python"
authors = ["Arie Bovenberg <[email protected]>"]
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
packages = [
{ include = "pdfje", from = "src" },
]
documentation = "https://pdfje.readthedocs.io"
readme = "README.rst"
include = ["CHANGELOG.rst", "README.rst"]
repository = "https://github.com/ariebovenberg/pdfje"
keywords = ["pdf"]
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
fonttools = {version="^4.38.0", optional=true}
pyphen = {version=">=0.13.0", optional=true}
[tool.poetry.extras]
fonts = ["fonttools"]
hyphens = ["pyphen"]
[tool.poetry.group.test.dependencies]
pytest = ">=7.0.1,<9.0.0"
pytest-cov = ">=4,<6"
pytest-benchmark = "^4.0.0"
hypothesis = "^6.68.2"
[tool.poetry.group.typecheck.dependencies]
mypy = "^1.0.0"
[tool.poetry.group.linting.dependencies]
black = "^24"
flake8 = ">=6,<8"
isort = "^5.7.0"
slotscheck = ">=0.17,<0.20"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
line_length = 79
profile = 'black'
add_imports = ['from __future__ import annotations']
[tool.slotscheck]
strict-imports = true
require-superclass = true
require-subclass = true
exclude-modules = "^pdfje\\.vendor.*"
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"