Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (112 loc) · 3.14 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (112 loc) · 3.14 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[project]
name = "huginn-framework"
dynamic = ["version"]
description = "A Python-native, async-first test automation framework for network infrastructure, servers, and applications."
readme = "README.md"
authors = [
{ name = "Christopher Hart", email = "christopherjhart95@gmail.com" },
{ name = "Andrea Testino", email = "aitestino@gmail.com"}
]
requires-python = ">=3.10"
dependencies = [
"tomli>=2.0.0; python_version < '3.11'",
"typer>=0.16.0,<1.0.0",
"aiohttp>=3.10.5,<4.0.0",
"jinja2>=3.1.0,<4.0.0",
"markdown>=3.4.0,<4.0.0",
"pyyaml>=6.0.2,<7.0.0",
"ruamel.yaml>=0.17.32,<1.0.0",
"scrapli-netconf[asyncssh]>=2025.1.30",
"scrapli[asyncssh]>=2025.1.30,<2026.10",
]
[project.scripts]
huginn = "huginn:main"
[project.entry-points."huginn.brokers"]
ssh = "huginn.brokers.ssh:SSHBroker"
http = "huginn.brokers.http:HTTPBroker"
netconf = "huginn.brokers.netconf:NETCONFBroker"
[project.entry-points."huginn.inventory"]
file = "huginn.inventory_plugins:FileInventoryPlugin"
[project.entry-points."huginn.scope_providers"]
file = "huginn.scope_providers:FileScopeProvider"
[project.entry-points."huginn.reporters"]
html = "huginn.reporting.html:HTMLReporterPlugin"
junit = "huginn.reporting.junit:JUnitReporterPlugin"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["src/huginn"]
[tool.hatch.build.hooks.vcs]
version-file = "src/huginn/_version.py"
[dependency-groups]
dev = [
"bandit==1.9.4",
"pre-commit==4.6.2",
"pytest==9.1.1",
"pytest-asyncio==1.4.0",
"pytest-cov==7.1.0",
"ruff==0.17.1",
"tomli==2.4.1; python_version < '3.11'",
"towncrier==26.9.0",
"ty==0.0.90",
"xenon==0.9.3",
"xmlschema==4.3.2",
]
docs = [
"mdformat==0.7.22",
"mdformat-tables==1.0.0",
"mkdocs-material==9.7.7",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
exclude = ["src/huginn/_version.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"W", # pycodestyle warnings
"C90",# flake8-mccabe complexity
"N", # pep8-naming
"UP", # pyupgrade
"ANN",# flake8-annotations
"D", # pydocstyle
"T", # flake8-print (includes T201 for pdb, replacing debug-statements hook)
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.towncrier]
directory = "changes"
filename = "CHANGELOG.md"
title_format = "## {version} - {project_date}"
issue_format = "[#{issue}](https://github.com/ChartinoLabs/Huginn/pull/{issue})"
underlines = ["", "", ""]
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "internal"
name = "Internal"
showcontent = true