Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (74 loc) · 1.99 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (74 loc) · 1.99 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
[project]
name = "awslabs.well-architected-security-mcp-server"
version = "0.2.0"
description = "AWS Well-Architected Security Assessment Tool MCP Server"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"mcp[cli]>=2.0.0,<3.0.0",
"boto3>=1.28.0",
"loguru>=0.7.0",
"pydantic>=2.0.0",
"fastapi>=0.100.0",
"pytest>=7.0.0",
"pytest-asyncio>=0.26.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"ruff>=0.0.291",
"pyright>=1.1.0",
]
[tool.setuptools]
packages = {find = {where = ["."]}}
[project.scripts]
"awslabs.well-architected-security-mcp-server" = "awslabs.well_architected_security_mcp_server.server:main"
[project.entry-points.mcp]
well-architected-security-mcp-server = "awslabs.well_architected_security_mcp_server.server:mcp"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.0"
tag_format = "$version"
version_files = [
"pyproject.toml:version",
"awslabs/well_architected_security_mcp_server/__init__.py:__version__"
]
update_changelog_on_bump = true
[tool.ruff]
line-length = 99
target-version = "py310"
exclude = [
".venv",
"**/__pycache__"]
[tool.ruff.lint]
exclude = ["__init__.py"]
select = ["E", "F", "I", "B", "Q"]
ignore = ["E203", "E501"]
[tool.ruff.lint.isort]
known-first-party = ["awslabs"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.hatch.build.targets.wheel]
packages = ["awslabs"]
[tool.bandit]
exclude_dirs = ["venv", ".venv", "tests"]
[tool.pytest.ini_options]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
testpaths = [ "tests"]
asyncio_mode = "auto"
markers = [
"live: marks tests that make live API calls (deselect with '-m \"not live\"')",
"asyncio: marks tests that use asyncio"
]
[tool.coverage.report]
exclude_also = [
'pragma: no cover',
'if __name__ == .__main__.:\n main()',
]
[tool.coverage.run]
source = ["awslabs"]