-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
100 lines (90 loc) · 2.25 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta:__legacy__"
[project]
name="hotpdf"
version="0.5.3"
authors = [
{name = "Krishnasis Mandal", email = "[email protected]"}]
maintainers = [
{name = "Alex Ptakhin" , email = "[email protected]"},
{name = "Izel Odabasi" , email = "[email protected]"},
{name = "Mattia Callegari" , email = "[email protected]"}]
description = "Fast PDF Data Extraction library"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Indexing",
"Topic :: Text Processing :: Linguistic",
"Topic :: Utilities",
"Operating System :: OS Independent",
]
keywords = [
"pdf",
"data extraction",
"text extraction",
"hotpdf",
"pdfminer",
"pdfquery"
]
dependencies = [
"pdfminer.six>=20231228",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["hotpdf*"]
exclude = ["docs*", "tests*"]
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "pytest-xdist", "pylint", "mypy", "typing-extensions", "pre-commit", "ruff"]
docs = ["pdfminer.six"]
[tool.ruff]
indent-width = 4
line-length = 120
select = [
# pycodestyle
"E", "W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# MaccaBe
"C901",
# Pep8-naming
#"N", # TODO: enable
]
fix = true
fixable = ["ALL"]
exclude = ["docs"]
preview = true
[tool.ruff.mccabe]
max-complexity = 10
[tool.mypy]
warn_unused_configs = true
files = "hotpdf"
ignore_missing_imports = true
check_untyped_defs = true
explicit_package_bases = true
warn_unreachable = true
warn_redundant_casts = true
strict = true
[tool.pytest.ini_options]
log_cli=true
log_level="NOTSET"