-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 1.69 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 1.69 KB
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
[project]
name = "dpsql"
version = "0.1.0"
description = "Differentially private SQL"
authors = [
{ name = "Satoshi Hasegawa", email = "[email protected]" },
{ name = "Tomoya Matsumoto", email = "[email protected]" },
{ name = "Shun Takagi", email = "[email protected]" },
{ name = "Shokichi Takakura", email = "[email protected]" },
]
dependencies = [
"pyspark>=3.5.3",
"dp-accounting>=0.4.4",
"pandas>=2.2.3",
"setuptools>=75.6.0",
"lark>=1.2.2",
"duckdb>=1.3.2",
"polars>=1.32.3",
"pyarrow>=21.0.0",
"opendp>=0.14.1",
]
readme = "README.md"
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=8.3.3",
"pytest-cov>=2.12.1",
"pytest-mock>=3.14.0",
"scipy>=1.14.1",
"ruff>=0.6.9",
"black>=24.10.0",
"mypy>=1.12.0",
"sphinxcontrib-mermaid>=1.0.0",
"esbonio>=0.16.5",
"sphinx>=8.1.3",
"myst-parser>=4.0.0",
"sphinx-rtd-theme>=3.0.2",
"ipykernel>=6.29.5",
"seaborn>=0.13.2",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/dpsql"]
[tool.mypy]
ignore_missing_imports = true
exclude = "examples/quickstart*\\.ipynb"
[tool.ruff]
exclude = ["examples/quickstart*.ipynb"]
[tool.ruff.lint]
select = [
"E", "W", # pycodestyle
"F", # Pyflakes
"C", # mccabe
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E203",
"D211",
"D212",
"E731",
]
[tool.black]
exclude = '''
/(
\.venv
|examples/quickstart*\.ipynb
)/
'''
[tool.pytest.ini_options]
python_functions = ["audit_*", "test_*"]