-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathpyproject.toml
132 lines (111 loc) · 3.35 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
[tool.poetry]
name = "patent_client"
version = "5.0.16"
description = "A set of ORM-style clients for publicly available intellectual property data"
authors = ["Parker Hancock <[email protected]>"]
license = "Apache Software License 2.0"
readme = "README.md"
documentation = "https://patent-client.readthedocs.io"
homepage = "https://github.com/parkerhancock/patent_client"
repository = "https://github.com/parkerhancock/patent_client"
keywords = ["patent", "intellectual property", "usitc", "epo", "ops", "trademark", "inpadoc", "337"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Legal Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering",
]
exclude = ["./**/cassettes/**/*",]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
# Required Dependencies
lxml = "^5.2.2"
python-dateutil = "^2.9.0.post0"
openpyxl = "^3.1.2"
#yankee = {path="../yankee", develop=true}
yankee = "^0.1.46"
pydantic = "^2.7.1"
pydantic-settings = "^2.2.1"
pypdf = "^4.2.0"
hishel = "^0.0.26"
async-property = "^0.2.2"
httpx = {extras = ["http2"], version = "^0.27.0"}
# Documentation Dependencies
inflection = "^0.5.1"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
# Documentation Dependencies
furo = "^2022.6"
linkify-it-py = "^2.0"
myst-parser = ">=0.17"
sphinx = "^5.0.2"
sphinx-autodoc-typehints = "^1.19"
sphinx-automodapi = ">=0.14"
sphinx-copybutton = ">=0.5"
sphinx-design = ">=0.2"
sphinx-notfound-page = ">=0.8"
sphinxcontrib-apidoc = "^0.3"
sphinxcontrib-mermaid = "^0.7.1"
nbsphinx = "^0.8.9"
IPython = "^7.17.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pre-commit = "^2.19.0"
pytest-xdist = "^2.5.0"
black = {version = "^22.12.0", allow-prereleases = true}
pandas = "1.3.5"
pytest-asyncio = "^0.21.1"
ipykernel = "^6.26.0"
vcrpy = {git = "https://github.com/parkerhancock/vcrpy"}
mypy = "^1.6.1"
nox = "^2022.1.7"
nox-poetry = "^1.0.0"
rich = ">=10.0"
sphinx-autobuild = "^2021.3.14"
bump2version = "^1.0.1"
pytest-recording = "^0.13.1"
datamodel-code-generator = "^0.25.5"
openapi-python-client = "^0.19.1"
isort = "^5.13.2"
[tool.poetry.group.types.dependencies]
types-openpyxl = "^3.1.0.24"
types-python-dateutil = "^2.8.19.14"
pandas-stubs = "^2.1.1.230928"
types-ujson = "^5.8.0.1"
types-pyyaml = "^6.0.12.12"
types-lxml = "^2023.10.21"
types-urllib3 = "^1.26.25.14"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[scripts]
test = "pytest --basetemp=tmp"
render_docs = "make -f docs/Makefile html"
[tool.pycln]
all = true
[tool.ruff]
line-length = 100
[tool.isort]
profile = 'black'
line_length = 100
skip_gitignore = true
[tool.pytest.ini_options]
python_files = [
"test_*.py",
"*_test.py",
"tests.py",
]
addopts = '-ra --strict-markers --doctest-modules --doctest-glob="*.md" --tb=short'
doctest_optionflags= [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ELLIPSIS"
]
asyncio_mode = "auto"
markers = [
"no_vcr: disable vcrpy recording",
]