forked from pdfminer/pdfminer.six
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (107 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
124 lines (107 loc) · 2.7 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["setuptools >= 61.0", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "pdfminer.six"
dynamic = ["version"]
description = "PDF parser and analyzer"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{ name = "Yusuke Shinyama" },
{ name = "Philippe Guglielmetti", email = "pdfminer@goulu.net" },
{ name = "Pieter Marsman" },
]
keywords = [
"layout analysis",
"pdf converter",
"pdf parser",
"text mining",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Text Processing",
]
dependencies = [
"charset-normalizer >= 2.0.0",
"cryptography >= 36.0.0",
]
[project.optional-dependencies]
dev = [
# Atheris is supports up to Python 3.11.
"atheris; python_version < '3.12'",
"black",
"mypy == 0.931",
"nox",
"pytest",
]
docs = [
"sphinx",
"sphinx-argparse",
]
image = [
"Pillow",
]
[project.urls]
Homepage = "https://github.com/pdfminer/pdfminer.six"
[tool.setuptools]
packages = ["pdfminer"]
script-files = [
"tools/pdf2txt.py",
"tools/dumppdf.py",
]
[tool.setuptools_scm]
[tool.ruff.lint]
extend-select = [
"W", # pycodestyle warnings
"I", # isort
"TID" # flake8 tidy imports
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.mypy]
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
# This seems impossible to turn on in a version-independent manner
warn_unused_ignores = false
[[tool.mypy.overrides]]
module = "pdfminer.*"
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = "cryptography.hazmat.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "setuptools.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pytest.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "nox.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "charset_normalizer.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "atheris.*"
ignore_missing_imports = true