-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (66 loc) · 1.75 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sparkfeaturekit"
version = "0.1.0"
description = "PySpark Feature Engineering Templates & Validation"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [{ name = "SparkFeatureKit Contributors" }]
keywords = ["pyspark", "feature-engineering", "machine-learning", "data-science"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.24",
"pandas>=2.0",
"pydantic>=2.0",
"scipy>=1.10",
]
[project.optional-dependencies]
spark = ["pyspark>=3.3"]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"black>=24.0",
"isort>=5.13",
"hypothesis>=6.0",
"pyarrow>=10.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/sparkfeaturekit"]
[tool.black]
line-length = 88
target-version = ["py310", "py311", "py312"]
[tool.isort]
profile = "black"
line_length = 88
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.coverage.run]
source = ["src"]
omit = ["*/tests/*", "*/__pycache__/*"]
[tool.coverage.report]
show_missing = true
fail_under = 85
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
]