-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
80 lines (74 loc) · 1.68 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
[project]
authors = [
{name = "Julian Vogel", email = "[email protected]"},
{name = "Christian Malek", email = "[email protected]"},
]
dependencies = [
"pydantic",
"pydantic-settings",
"openai",
"beautifulsoup4",
"requests",
"python-dotenv",
"pypdfium2",
"pdfplumber",
"tabulate",
"basyx-python-sdk@git+https://github.com/eclipse-basyx/basyx-python-sdk.git@b178a8cc1e8bbe5076e935aa0359133a3f772b9e#subdirectory=sdk",
"xlrd",
]
name = "pdf2aas"
requires-python = ">=3.10"
dynamic = ["version"]
classifiers = [
"License :: OSI Approved :: MIT License",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pyinstaller",
"ruff",
"mypy",
"types-beautifulsoup4",
"types-openpyxl",
"types-requests",
"types-tabulate",
]
demo = [
"gradio",
"gradio_pdf",
"pandas",
"openpyxl",
]
eval = [
"matplotlib",
"levenshtein",
"openpyxl",
]
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "setuptools-scm>=8"]
[tool.ruff]
include = ["pyproject.toml", "src/**/*.py"]
exclude = ["tests/**", "examples/**"]
line-length = 100
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D203", # conflicts with D211
"D213", # conflicts with D212
"PTH123", # Allow to use builtin open() function
"TD002", # Don't force todo authors
"TD003", # Don't force todo issues
"FIX002", # Don't force to fix todos
"PD011", # Pandas use of dot values, often false positive
"PLR0913", # Allow more than 5 function arguments, especially for initializers
"ANN401", # Allow Any as type argument
]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 80
[tool.mypy]
files = [
"src/"
]