-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (62 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
69 lines (62 loc) · 1.54 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
[project]
name = "aws-network-tools"
version = "0.1.0"
description = "Modular AWS networking discovery and analysis tools"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"boto3>=1.34.0",
"rich>=13.0.0",
"typer>=0.12.0",
"pydantic>=2.0.0",
"thefuzz>=0.22.0",
"cmd2>=2.4.0",
"PyYAML>=6.0",
"pexpect>=4.9.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"moto[all]>=5.0.0",
]
[project.scripts]
aws-net-shell = "aws_network_tools.shell:main"
aws-net-runner = "aws_network_tools.cli.runner:main"
aws-trace = "aws_network_tools.traceroute.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/aws_network_tools"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = [
"--cov=src/aws_network_tools",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-fail-under=20",
"-m",
"not integration",
"-v",
]
markers = [
"integration: integration tests using real CLI via pexpect",
"issue_9: Tests for GitHub Issue #9 (EC2 ENI filtering)",
"issue_10: Tests for GitHub Issue #10 (ELB no output)",
]
[tool.coverage.run]
source = ["src/aws_network_tools"]
branch = true
omit = [
"*/cli.py", # CLI is alternative interface, less critical
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]