-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (115 loc) · 2.85 KB
/
pyproject.toml
File metadata and controls
128 lines (115 loc) · 2.85 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
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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "pandera-unified-validator"
version = "0.1.0"
description = "Advanced data validation library unifying Pydantic and Pandera with multi-backend support"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Ian Pinto", email = "ianpinto1980@gmail.com" },
]
dependencies = [
"pydantic>=2.0",
"pandera>=0.18",
"pandas>=2.0",
"polars>=0.20",
"rich>=13.0",
"jinja2>=3.1",
"typer>=0.9.0",
"structlog>=23.1.0",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/ianpinto/pandera-unified-validator"
Repository = "https://github.com/ianpinto/pandera-unified-validator"
Documentation = "https://github.com/ianpinto/pandera-unified-validator/tree/main/docs"
[project.scripts]
puv = "pandera_unified_validator.__main__:app"
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-asyncio>=0.21",
"pytest-benchmark>=4.0",
"hypothesis>=6.92",
"mypy>=1.7",
"ruff>=0.1.6",
"black>=23.11",
"coverage[toml]>=7.3",
]
parquet = [
"pyarrow>=14.0",
]
database = [
"sqlalchemy>=2.0",
]
profiling = [
"ydata-profiling>=4.6; python_version < \"3.13\"",
"sweetviz>=2.3.1",
]
all = [
"pyarrow>=14.0",
"sqlalchemy>=2.0",
"ydata-profiling>=4.6; python_version < \"3.13\"",
"sweetviz>=2.3.1",
]
[tool.hatch.envs.default]
dependencies = [
"pytest>=7.4",
"mypy>=1.7",
"ruff>=0.1.6",
"black>=23.11",
"coverage[toml]>=7.3",
]
[tool.hatch.envs.default.scripts]
test = "pytest --maxfail=1 --disable-warnings --strict-markers"
lint = "ruff check src tests"
fmt = "black src tests"
fmt-check = "black --check src tests"
typecheck = "mypy src"
coverage = "coverage run -m pytest && coverage html"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "C4", "PIE"]
ignore = []
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_unused_configs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
mypy_path = ["src"]
namespace_packages = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra --strict-markers"
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["pandera_unified_validator"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = true
precision = 2
fail_under = 90.0