-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
90 lines (80 loc) · 2.09 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
[project]
name = "daffy"
version = "0.13.2"
description = "Function decorators for Pandas and Polars Dataframe column name and data type validation"
authors = [
{ name="Janne Sinivirta", email="janne.sinivirta@gmail.com" },
]
license = "MIT"
requires-python = ">=3.9"
readme = "README.md"
keywords = ["pandas", "dataframe", "typing", "validation"]
classifiers = [
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License"
]
dependencies = [
"pandas>=1.5.1,<3.0.0",
"polars>=1.7.0",
"tomli>=2.0.0",
]
[project.urls]
homepage = "https://github.com/ThoughtWorksInc/daffy"
repository = "https://github.com/ThoughtWorksInc/daffy.git"
documentation = "https://github.com/ThoughtWorksInc/daffy/blob/master/README.md"
[dependency-groups]
dev = [
"pytest>=8.3.0",
"pre-commit>=4.0.0",
"mypy>=1.7.1",
"pytest-mock>=3.12.0",
"pytest-cov>=6.0.0",
"coverage[toml]>=7.3.2",
"pydocstyle>=6.3.0",
"ruff>=0.11.0",
"pandas-stubs>=2.2.2.240807",
]
[build-system]
requires = ["hatchling>=1.18.0"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"daffy/**/*.py",
"daffy/py.typed",
"pyproject.toml",
"README.md",
"LICENSE",
"docs/**/*",
"tests/**/*",
]
exclude = [
"mise.toml",
".gitignore",
".github/**/*",
".vscode/**/*",
"**/__pycache__",
"**/*.pyc",
]
[tool.hatch.build.targets.wheel]
packages = ["daffy"]
[tool.coverage.run]
branch = true
source = ["daffy"]
[tool.coverage.report]
show_missing = true
fail_under = 95
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N"]