-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (53 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
60 lines (53 loc) · 1.39 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
[project]
name = "dataframe-expectations"
version = "0.6.0"
description = "Python library designed to validate Pandas and PySpark DataFrames using customizable, reusable expectations"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{name = "Data Products GetYourGuide", email = "engineering.data-products@getyourguide.com"}
]
dependencies = [
"pandas>=1.5.0",
"pydantic>=2.12.4",
"tabulate>=0.8.9",
]
[project.optional-dependencies]
pyspark = [
"pyspark>=3.3.0",
]
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
"pyspark: marks tests as requiring PySpark (deselect with '-m \"not pyspark\"')",
"pandas: marks tests as standard pandas logic"
]
[dependency-groups]
dev = [
"numpy>=1.21.0",
"pyarrow>=10.0.0",
"pytest>=7.0.0",
"pytest-xdist>=3.0.0",
"pre-commit>=2.20.0",
"ruff>=0.1.0",
"pytest-cov>=4.0.0",
]
docs = [
"sphinx>=4.0.0",
"sphinx-book-theme>=1.0.0",
"sphinx-autobuild>=2021.3.14",
"pyspark>=3.3.0",
"pandas>=1.5.0",
"tabulate>=0.8.9",
"tomli>=2.0.0; python_version < '3.11'",
]
[tool.ruff]
target-version = "py310" # Target the minimum supported version
line-length = 100
[tool.mypy]
python_version = "3.10" # Target the minimum supported version
warn_unused_configs = false
disallow_untyped_defs = false
warn_return_any = false
ignore_missing_imports = true
check_untyped_defs = false