-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (47 loc) · 1.19 KB
/
pyproject.toml
File metadata and controls
53 lines (47 loc) · 1.19 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "qualys-lambda-scanner"
version = "1.0.0"
description = "Automated vulnerability scanning for AWS Lambda functions using Qualys QScanner"
requires-python = ">=3.11"
dependencies = [
"boto3>=1.28.0",
"botocore>=1.31.0",
]
[tool.setuptools]
py-modules = []
packages = []
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.0.0",
"moto[all]>=4.0.0",
"cfn-lint>=0.80.0",
"pyyaml>=6.0",
"jsonschema>=4.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["scanner-lambda", "scripts"]
markers = [
"unit: Unit tests (mocked, no AWS required)",
"integration: Integration tests (requires AWS credentials)",
"smoke: Smoke tests (deploys real resources)",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["scanner-lambda"]
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"raise NotImplementedError",
]