-
Notifications
You must be signed in to change notification settings - Fork 78
/
pyproject.toml
87 lines (76 loc) · 1.84 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "netbox-agent"
version = "1.0.0"
description = "NetBox agent for server"
authors = [
{name = "Solvik Blum", email = "solvik@solvik.fr"},
]
keywords = ["netbox"]
classifiers = [
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'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.0',
]
readme = "README.md"
requires-python = ">=3.8, <3.13.1"
dependencies = [
"pynetbox==7.4.1",
"netaddr==1.3.0",
"netifaces2==0.0.22",
"pyyaml==6.0.2",
"jsonargparse==4.35.0",
"python-slugify==8.0.4",
"packaging==23.2",
"distro==1.9.0",
]
[project.optional-dependencies]
tests = [
"pytest~=8.3.3",
"pytest-cov~=5.0.0",
]
style = [
"ruff~=0.8.3",
]
[tool.ruff]
line-length = 99
src = ["netbox_agent", "tests"]
output-format = "grouped"
show-fixes = true
[tool.ruff.lint]
ignore = [
"F841",
"F841",
"E203",
"E501",
"F401",
"F821",
"E721",
]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
python_files = [
"*.py",
]
addopts = "-vv --showlocals --cov-report term-missing --cov-report xml --cov netbox_agent --no-cov-on-fail --tb=native -x"
[project.scripts]
netbox_agent = "netbox_agent.cli:main"
[tool.setuptools.packages.find]
where = ["netbox_agent"]
exclude = ["*.tests", "*.tests.*", "tests.*", "tests"]
[project.urls]
"Source" = "https://github.com/solvik/netbox_agent"
[project.license]
text = "Apache2"
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/plaintext/markdown"}