-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (51 loc) · 1.6 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
[tool.poetry]
name = "numpy_pydantic_types"
version = "0.1.0a0"
description = "numpy-pydantic-types is a Python library providing numpy scalar data types compatible with pydantic, allowing for easy validation and enforcement of numerical precision in pydantic models."
authors = ["Álvaro Vázquez Ortiz <[email protected]>"]
maintainers = ["Álvaro Vázquez Ortiz <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/eksavazquez/numpy-pydantic-types"
license = "MIT"
keywords = ["pydantic", "numpy", "typing", "validation"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent"
]
packages = [{include = "numpy_pydantic_types"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
numpy = ">=2.0.0"
pydantic = "^2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
coverage = "^7.5.1"
[tool.poetry.group.format.dependencies]
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]
lint.ignore = ["F403", "F405"]
[tool.pyright]
include = ["numpy_pydantic_types/**", "tests/**"]
reportUnsupportedDunderAll = false
[tool.mypy]
ignore_missing_imports = true
packages = ["numpy_pydantic_types"]
plugins = [
'numpy.typing.mypy_plugin',
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"