-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
84 lines (73 loc) · 2.21 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
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[project]
name = "hypothesis-awkward"
dynamic = ["version"]
description = "Hypothesis strategies for Awkward Array"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Tai Sakuma" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
keywords = ["hypothesis", "awkward-array", "testing", "property-based testing"]
dependencies = [
"awkward>=2.9",
"hypothesis>=6.147",
"typing_extensions>=4.1; python_version < '3.11'",
]
[project.optional-dependencies]
pandas = [
"pandas>=2.3,<3; python_version < '3.11'",
"pandas>=2.3; python_version >= '3.11' and python_version < '3.14'",
"pandas>=2.3.3; python_version >= '3.14'",
]
arrow = ["pyarrow>=22.0"]
all = ["hypothesis-awkward[pandas,arrow]"]
[dependency-groups]
dev = ["mypy>=1.18", "pytest>=9.0", "pytest-cov>=7.0", "ruff>=0.14.1"]
print = ["rich>=14.2", "icecream>=2.1"]
[tool.hatch.version]
source = "regex_commit"
path = "src/hypothesis_awkward/__about__.py"
tag_name = "u{new_version}"
check_dirty = false
tag_sign = false
[tool.pytest]
addopts = ["--doctest-modules", "--doctest-glob='*.md'"]
doctest_optionflags = ["ELLIPSIS"]
filterwarnings = ["ignore::hypothesis.errors.NonInteractiveExampleWarning"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
]
ignore = [
"E501", # line too long
"E741", # ambiguous variable name 'l' (lowercase L)
]
[tool.ruff.lint.isort]
known-first-party = ["awkward"]
[tool.ruff.format]
quote-style = "preserve"
indent-style = "space"
[[tool.mypy.overrides]]
module = ["awkward.*", "pyarrow.*", "pandas.*"]
ignore_missing_imports = true