-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (105 loc) · 2.88 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (105 loc) · 2.88 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
[project]
name = "mitre-emb3d"
version = "0.6.0"
description = "MITRE EMB3D: Library & CLI for working with the MITRE EMB3D framework."
readme = "README.md"
authors = [
{ name = "Sachdeva, Kapil"}
]
requires-python = ">=3.11"
dependencies = [
"fastmcp>=3.1.0",
"gitpython>=3.1.46",
"google-adk>=1.27.1",
"httpx>=0.28.1",
"jinja2>=3.1.0",
"litellm>=1.82.0,<=1.82.2",
"networkx>=3.6.1",
"pathspec>=1.0.3",
"pydantic>=2.12.5",
"pygments>=2.17.0",
"ruamel-yaml>=0.19.1",
"textual>=8.0.2",
"typer>=0.16.0",
"xdg-base-dirs>=6.0.2",
]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Typing :: Typed"
]
keywords = [
"MITRE",
"MITRE EMB3D",
"security",
"threat modeling"
]
[project.urls]
repository = "https://github.com/ksachdeva/mitre-emb3d"
issues = "https://github.com/ksachdeva/mitre-emb3d/issues"
[project.scripts]
mitre-emb3d = "mitre_emb3d.__main__:cli_app"
med = "mitre_emb3d.__main__:cli_app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-xdist>=3.6.1",
"pytest-mock>=3.14.0",
"poethepoet>=0.30.0",
"packaging>=24.2",
"pyright>=1.1.378",
"mypy>=1.10.0",
"ruff>=0.4.8",
"pre-commit>=4.3.0",
"textual-dev>=1.8.0",
"mkdocs-material>=9.7.6",
"mkdocs-minify-plugin>=0.8.0",
]
[tool.ruff]
line-length = 120
fix = true
target-version = "py311"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = ["E", "F", "W", "B", "Q", "I", "ASYNC", "T20"]
ignore = ["F401", "E501"]
[tool.ruff.lint.flake8-tidy-imports]
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"unittest".msg = "Use `pytest` instead."
[tool.ruff.flake8-bugbear]
extend-immutable-calls = ["fastapi.Depends", "fastapi.params.Depends", "fastapi.Query", "fastapi.params.Query"]
[tool.mypy]
strict = true
python_version = "3.11"
ignore_missing_imports = true
# from https://blog.wolt.com/engineering/2021/09/30/professional-grade-mypy-configuration/
disallow_untyped_defs = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
show_error_codes = true
warn_unused_ignores = false
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_any_unimported = false
[tool.pyright]
include = ["src", "tests", "samples"]
# typeCheckingMode = "strict"
reportUnnecessaryIsInstance = false
reportMissingTypeStubs = false
exclude = []
[tool.poe]
include = "poe.toml"