-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
137 lines (123 loc) · 3.72 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[tool.poetry]
name = "docling-core"
version = "2.3.1"
description = "A python library to define and validate data types in Docling."
license = "MIT"
authors = [
"Cesar Berrospi Ramis <[email protected]>",
"Valery Weber <[email protected]>",
"Peter Staar <[email protected]>",
"Christoph Auer <[email protected]>",
"Tiago Santana <[email protected]>",
"Michele Dolfi <[email protected]>",
"Kasper Dinkla <[email protected]>",
"Rafael Teixeira de Lima <[email protected]>",
"Panos Vagenas <[email protected]>",
]
maintainers = [
"Cesar Berrospi Ramis <[email protected]>",
"Peter Staar <[email protected]>",
"Christoph Auer <[email protected]>",
"Michele Dolfi <[email protected]>",
"Panos Vagenas <[email protected]>",
]
readme = "README.md"
homepage = "https://ds4sd.github.io/"
repository = "https://github.com/DS4SD/docling-core"
keywords = ["docling", "discovery", "etl", "information retrieval", "analytics", "database", "database schema", "schema", "JSON"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
"Programming Language :: Python :: 3"
]
packages = [{ include = "docling_core" }]
[tool.poetry.scripts]
validate = "docling_core.utils.validate:main"
generate_jsonschema = "docling_core.utils.generate_jsonschema:main"
generate_docs = "docling_core.utils.generate_docs:main"
[tool.poetry.dependencies]
python = "^3.9"
jsonschema = "^4.16.0"
pydantic = "^2.6.0"
jsonref = "^1.1.0"
tabulate = "^0.9.0"
pandas = "^2.1.4"
pillow = "^10.3.0"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
pytest = "^7.1.2"
mypy = "^1.6.0"
isort = "^5.10.1"
pre-commit = "^3.7.1"
autoflake = "^2.0.0"
flake8 = "^7.1.0"
pycodestyle = "^2.10.0"
flake8-docstrings = "^1.6.0"
pep8-naming = "^0.13.2"
jsondiff = "^2.0.0"
types-setuptools = "^70.3.0"
python-semantic-release = "^7.32.2"
pandas-stubs = "^2.1.4.231227"
[tool.setuptools.packages.find]
where = ["docling_core/resources/schemas"]
[tool.setuptools.package-data]
ccs = ["*.json"]
search = ["*.json"]
generated = ["*.json"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ["py39", "py310"]
include = '\.pyi?$'
preview = true
[tool.isort]
profile = "black"
line_length = 88
py_version = 39
multi_line_output = 3
include_trailing_comma = true
[tool.autoflake]
in-place = true
ignore-init-module-imports = true
remove-all-unused-imports = true
remove-unused-variables = true
expand-star-imports = true
recursive = true
[tool.mypy]
pretty = true
# strict = true
no_implicit_optional = true
namespace_packages = true
show_error_codes = true
python_version = "3.9"
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"jsondiff.*",
"jsonref.*",
"jsonschema.*",
"requests.*",
"tabulate.*",
"yaml.*",
]
ignore_missing_imports = true
[tool.semantic_release]
# for default values check:
# https://github.com/python-semantic-release/python-semantic-release/blob/v7.32.2/semantic_release/defaults.cfg
version_source = "tag_only"
branch = "main"
# configure types which should trigger minor and patch version bumps respectively
# (note that they must be a subset of the configured allowed types):
parser_angular_allowed_types = "build,chore,ci,docs,feat,fix,perf,style,refactor,test"
parser_angular_minor_types = "feat"
parser_angular_patch_types = "fix,perf"