-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
68 lines (64 loc) · 1.34 KB
/
pyproject.toml
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
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling>=1.13",
]
[project]
name = "sims"
description = "Turn Terraform scripts into automated adversary emulation for the Cloud."
readme = "README.md"
authors = [
{ name = "Chris Lo", email = "[email protected]" },
{ name = "Daryl Lim", email = "[email protected]" },
]
requires-python = ">=3.11.6"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
]
dynamic = [
"version",
]
dependencies = [
"cryptography",
"fastapi",
"modal",
"openai",
"orjson",
"pydantic==2.6.1",
"python-dotenv",
"python-multipart",
"tenacity",
"uvicorn",
"websockets",
]
[project.optional-dependencies]
test = [
"coverage[toml]",
"pytest",
]
[tool.hatch.version]
path = "sims/__init__.py"
[tool.ruff]
exclude = ["tests/scenarios/*.py"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
"UP", # pyupgrade
]
[tool.coverage.run]
parallel = true
source = ["tests"]