-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
86 lines (75 loc) · 2.13 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
[build-system]
requires = ["poetry-core>=2.1.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "netaddr-pydantic"
version = "0.2.1"
description = "Use Netaddr objects in Pydantic Models"
readme = "README.md"
requires-python = ">=3.11"
license = "LGPL-2.1-or-later"
license-files = ["LICENSE"]
keywords = ["pydantic", "netaddr"]
authors = [
{name = "Damien Nadé", email= "anvil.github+netaddr-pydantic@livna.org"}
]
packages = ["netaddr_pydantic"]
classifiers = [
"Framework :: Pydantic :: 2",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Typing :: Typed"
]
[project.urls]
Repository = "https://github.com/Anvil/netaddr-pydantic/"
Issues = "https://github.com/Anvil/netaddr-pydantic/issues"
Documentation = "https://github.com/Anvil/netaddr-pydantic/README.md"
[tool.poetry.dependencies]
pydantic = ">=2.11"
pydantic-core = ">=2.33"
netaddr = ">=1.3.0"
types-netaddr = ">=1.3.0"
[tool.poetry.group.unit]
optional = true
[tool.poetry.group.unit.dependencies]
pytest = ">6"
pytest-mock = "^3.10"
pytest-cases = "^3.6"
pytest-cov = ">=4"
[tool.poetry.group.sphinx]
optional = true
[tool.poetry.group.sphinx.dependencies]
sphinx = ">=8.2"
sphinx-autodoc-typehints = ">=3.1"
sphinx-rtd-theme = ">=3"
[tool.mypy]
color_output = true
ignore_missing_imports = false
pretty = true
raise_exceptions = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
show_error_end = true
show_traceback = true
strict = true
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
disallow_untyped_decorators = true
packages = ["netaddr_pydantic", "tests"]
plugins = ["pydantic.mypy"]
[tool.black]
line-length = 79
include = '\.pyi?$'
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-vv -l --cov-branch --cov-report term-missing --cov netaddr_pydantic"