forked from TracecatHQ/tracecat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (98 loc) · 2.48 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
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
[build-system]
requires = ["hatchling >= 1.13.0"]
build-backend = "hatchling.build"
[project]
name = "tracecat"
description = ""
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
authors = [{ name = "Tracecat", email = "[email protected]" }]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Topic :: Security",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
]
dependencies = [
"boto3==1.34.69",
"colorlog",
"croniter",
"cryptography",
"diskcache==5.6.3",
"fastapi",
"httpx",
"lancedb==0.6.3",
"mmh3==4.1.0",
"loguru==0.7.2",
"openai",
"orjson",
"polars==0.20.21",
"psycopg[binary]",
"psycopg2-binary",
"pyarrow",
"pydantic==2.6.1",
"python-jose[cryptography]",
"python-slugify",
"sqlmodel",
"tenacity",
"uvicorn",
"aio-pika==9.4.1",
"cloudpickle==3.0.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/TracecatHQ/tracecat"
Documentation = "https://docs.tracecat.com/"
Repository = "https://github.com/TracecatHQ/tracecat"
[project.optional-dependencies]
runner = ["aiosmtplib", "jsonpath_ng", "python-multipart"]
dev = [
"respx",
"pytest",
"python-dotenv",
"pytest-asyncio",
"minio",
"boto3-stubs[cloudtrail,guardduty,s3]",
]
[tool.hatch.version]
path = "tracecat/__init__.py"
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.ruff]
line-length = 88
fix = true
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by ruff
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
]
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers", "-vvrP"]
xfail_strict = true
log_level = "INFO"
log_cli = true
log_cli_level = "INFO"
markers = [
"webtest: marks test that require the web",
"slow: marks tests as slow",
]
[tool.ruff.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true