-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (96 loc) · 2.79 KB
/
pyproject.toml
File metadata and controls
109 lines (96 loc) · 2.79 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cyntrisec"
dynamic = ["version"]
description = "AWS capability graph analysis and attack path discovery CLI"
readme = "README.md"
license = { file = "LICENSE" }
license-files = ["LICENSE", "NOTICE"]
requires-python = ">=3.11"
authors = [{ name = "CyntriSec" }]
keywords = ["aws", "security", "attack-path", "cli", "cost-optimization", "mcp", "mcp-server"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0",
"boto3>=1.34",
"pydantic>=2.6.3",
"PyYAML>=6.0",
"mcp>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/cyntrisec/cyntrisec-cli"
Repository = "https://github.com/cyntrisec/cyntrisec-cli"
"MCP Registry" = "https://registry.modelcontextprotocol.io"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"hypothesis>=6.0",
"mypy>=1.0",
"ruff>=0.1",
"moto>=5.0",
"types-PyYAML",
]
[project.scripts]
cyntrisec = "cyntrisec.cli.main:app"
[tool.hatch.version]
path = "src/cyntrisec/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"src/cyntrisec",
"README.md",
"LICENSE",
"NOTICE",
"CHANGELOG.md",
"pyproject.toml",
]
[tool.hatch.build.targets.wheel]
packages = ["src/cyntrisec"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = [
"E501", # Line too long - too many existing violations
"E402", # Module level import not at top of file - existing code
"E701", # Multiple statements on one line - existing code
"F841", # Local variable assigned but never used - existing code
"W291", # Trailing whitespace - existing code
"W293", # Blank line contains whitespace - existing code
]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
# Disable strict checks that have too many existing violations
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = false
no_implicit_optional = false
check_untyped_defs = false
warn_return_any = false
warn_unused_ignores = false
# Keep some basic checks enabled
warn_unused_configs = true
show_error_codes = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
[tool.mcp]
# MCP Registry name - must match server.json "name" field
name = "io.github.cyntrisec/cyntrisec"