-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
121 lines (106 loc) · 2.47 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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[project]
name = "edspdf-mupdf"
description = "MuPDF extension for EDS-PDF"
authors = [
{ name = "Perceval Wajsburt", email = "[email protected]" },
{ name = "Alice Calliger", email = "[email protected]" },
]
license = { file = "LICENSE" }
readme = "README.md"
urls.homepage = "https://github.com/aphp/edspdf-mupdf/"
urls.repository = "https://github.com/aphp/edspdf-mupdf/"
urls.documentation = "https://aphp.github.io/edspdf-mupdf/"
dynamic = ["version"]
requires-python = ">3.7.6,<4.0,!=3.8.1"
dependencies = [
"edspdf>=0.7.0",
"pymupdf~=1.21.0",
"numpy>=1.0.0"
]
[project.optional-dependencies]
dev = [
"pre-commit~=2.18.1",
"pytest~=7.1.1",
"pytest-cov~=3.0.0",
]
docs = [
"mike~=1.1.2",
"mkdocs@git+https://github.com/mkdocs/mkdocs.git@5af8bd30538ff8f0cfb698c8b90c3020da319f92",
"mkdocstrings==0.20.0",
"mkdocs-autorefs@git+https://github.com/percevalw/[email protected]",
"mkdocs-gen-files~=0.4.0",
"mkdocs-literate-nav~=0.6.0",
"mkdocs-material~=9.1.0",
"mkdocstrings-python~=0.8.3",
"mkdocs-glightbox~=0.3.1",
"pybtex~=0.24.0",
]
[project.entry-points."edspdf_factories"]
# Extractors
"mupdf-extractor" = "edspdf_mupdf:MuPdfExtractor"
[tool.setuptools.dynamic]
version = { attr = "edspdf_mupdf.__version__" }
[tool.setuptools.packages.find]
where = ["."]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = true
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = false
fail-under = 10
exclude = ["docs", "build", "tests"]
verbose = 0
quiet = false
whitelist-regex = []
color = true
omit-covered-files = false
[tool.coverage]
exclude_lines = [
"raise NotImplementedError",
"def __repr__",
]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.mypy]
plugins = "pydantic.mypy"
[tool.ruff]
fix = true
exclude = [
".git",
"__pycache__",
"__init__.py",
".mypy_cache",
".pytest_cache",
".venv",
"build",
]
ignore = []
line-length = 88
select = [
"E",
"F",
"W",
"I001"
]
fixable = ["E", "F", "W", "I"]
[tool.ruff.isort]
known-first-party = ["edspdf"]
[tool.black]
force-exclude = "tests/test_styled_aggregation.py"
[build-system]
requires = [
"setuptools>=42",
"wheel",
"ninja",
"cmake>=3.12",
"pybind11>=2.6.2,<3.0.0",
]
build-backend = "setuptools.build_meta"