-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
70 lines (56 loc) · 1.56 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
[tool.poetry]
name = "pydantic_numpy"
version = "8.0.0"
description = "Pydantic Model integration of the NumPy array"
authors = ["Can H. Tartanoglu", "Christoph Heindl"]
maintainers = ["Can H. Tartanoglu <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/caniko/pydantic-numpy"
license = "BSD-3-Clause"
keywords = ["pydantic", "numpy", "typing", "validation"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent"
]
packages = [{include = "pydantic_numpy"}]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
compress-pickle = { version = "*", extras = ["lz4"] }
ruamel-yaml = "^0.18.5"
numpy = "^2"
pydantic = "^2.0"
semver = "^3.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
parameterized = "^0.9.0"
orjson = "*"
coverage = "^7.5.1"
[tool.poetry.group.format.dependencies]
black = "^23.7.0"
isort = "^5.12.0"
ruff = "*"
[tool.poetry.group.typecheck.dependencies]
mypy = "*"
pyright = "^1.1.338"
[tool.pytest.ini_options]
filterwarnings = [
"ignore:invalid value encountered in multiply:RuntimeWarning",
]
[tool.black]
line-length = 120
target-version = ["py312"]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
lint.ignore = ["F403", "F405"]
[tool.pyright]
include = ["pydantic_numpy/**", "tests/**"]
reportUnsupportedDunderAll = false
[tool.mypy]
ignore_missing_imports = true
packages = ["pydantic_numpy"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"