-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (85 loc) · 1.89 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
[project]
name = "matchbox"
version = "0.2.0"
description = "A framework for orchestrating and comparing various company matching methodologies."
authors = [{ name = "DDaTDataScienceTeam" }]
license = {file = "LICENSE"}
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"click>=8.1.7",
"connectorx>=0.3.3",
"duckdb>=1.1.1",
"httpx>=0.28.0",
"matplotlib>=3.9.2",
"pandas>=2.2.3",
"psycopg2>=2.9.10",
"pyarrow>=17.0.0",
"pydantic-settings>=2.5.2",
"pydantic>=2.9.2",
"python-dotenv>=1.0.1",
"rustworkx>=0.15.1",
"splink>=4.0.5,<4.1.0",
"sqlalchemy>=2.0.35",
]
[project.optional-dependencies]
server = [
"fastapi[standard]>=0.115.0,<0.116.0",
"pg-bulk-ingest>=0.0.54",
"tomli>=2.0.1",
]
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"pre-commit>=3.8.0",
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"pytest-env>=1.1.5",
"ruff>=0.6.8",
"docker>=7.1.0",
"tomli-w>=1.1.0",
"vcrpy>=6.0.2",
]
typing = [
"polars>=1.11.0",
]
[tool.uv]
default-groups = ["dev", "typing"]
package = true
[tool.ruff]
exclude = [
"*.ipynb"
]
line-length = 88
indent-width = 4
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
# "D"
]
ignore = []
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"**/{test,docs}/*" = ["D"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["test"]
pythonpath = ["."]
addopts = "-s -vv --cov=matchbox test/ --log-disable=pg_bulk_ingest"
log_cli = false
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"