-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
70 lines (59 loc) · 1.53 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
[tool.poetry]
name = "grobid"
version = "0.2.0"
description = "Python library for serializing GROBID TEI XML to dataclass"
authors = ["Omar Zeghouani <[email protected]>"]
license = "MIT"
packages = [
{ include = "grobid", from = "src" }
]
include = [
{ path = "tests", format = "sdist" }
]
readme = "README.md"
repository = "https://github.com/ram02z/grobid"
keywords = ["GROBID", "XML", "dataclass"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[tool.poetry.dependencies]
python = ">=3.10, <4.0"
lxml = "^4.9.1"
bs4 = "^0.0.1"
httpx = "^0.23.0"
orjson = {optional = true, version = "^3.7.8"}
[tool.poetry.dev-dependencies]
black = "^22.6.0"
pytest = "^7.1.2"
isort = {extras = ["colors"], version = "^5.10.1"}
coverage = {extras = ["toml"], version = "^6.4.2"}
pydocstyle = "^6.1.1"
flake8 = "^4.0.1"
respx = "^0.19.2"
pytest-asyncio = "^0.19.0"
PyMuPDF = "^1.20.1"
flake8-docstrings = "^1.6.0"
Sphinx = "^5.0.2"
myst-parser = "^0.18.0"
furo = "^2022.6.21"
coveralls = "^3.3.1"
[tool.poetry.extras]
json = ["orjson"]
[tool.isort]
profile = "black"
extend_skip = ["docs"]
[tool.pydocstyle]
convention = "google"
match = "(?!__init).*\\.py"
match-dir = "^(?!(.venv|docs)).*"
[tool.black]
target-version = ["py310"]
extend-exclude = "docs"
[tool.coverage.run]
omit = ["*tests*"]
[tool.coverage.report]
exclude_lines = ["if __name__ == .__main__.:", "except ImportError:"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"