-
Notifications
You must be signed in to change notification settings - Fork 177
/
pyproject.toml
120 lines (111 loc) · 3.01 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[build-system]
requires = ["hatchling >= 1.13.0"]
build-backend = "hatchling.build"
[project]
name = "tracecat"
description = "Open source Tines / Splunk SOAR alternative."
readme = "README.md"
requires-python = ">=3.12"
license = "AGPL-3.0"
authors = [{ name = "Tracecat", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"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 :: Systems Administration",
]
dependencies = [
"alembic_utils==0.8.4",
"alembic-postgresql-enum==1.3.0",
"alembic==1.13.2",
"asyncpg==0.29.0",
"authlib>=1.3.1,<1.4.0",
"cloudpickle==3.0.0",
"colorlog==6.8.2",
"croniter==2.0.5",
"cryptography==43.0.1",
"email-validator>=2.0.0",
"fastapi-users[sqlalchemy,oauth]==13.0.0",
"fastapi==0.111.0",
"greenlet==3.0.3",
"httpx==0.27.0",
"jsonpath_ng>=1.7.0",
"lark==1.1.9",
"loguru==0.7.2",
"msal==1.31.1",
"ollama==0.3.3",
"google-auth==2.37.0",
"openai==1.30.3",
"orjson==3.10.3",
"paramiko==3.5.0",
"psycopg[binary]==3.1.19",
"pyarrow==16.1.0",
"pydantic==2.6.1",
"pysaml2==7.5.0",
"python-slugify==8.0.4",
"ray>=2.40.0",
"sqlmodel==0.0.18",
"temporalio==1.6.0",
"tenacity==8.3.0",
"uv==0.4.10",
"uvicorn==0.29.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://tracecat.com"
Documentation = "https://docs.tracecat.com/"
Repository = "https://github.com/TracecatHQ/tracecat"
[project.optional-dependencies]
dev = [
"minio",
"mypy",
"pre-commit",
"pytest-mock",
"pytest==8.3.2",
"python-dotenv",
"respx",
]
[tool.hatch.version]
path = "tracecat/__init__.py"
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.ruff]
line-length = 88
fix = true
[tool.ruff.lint]
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.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers", "-vvrP"]
xfail_strict = true
log_level = "ERROR"
log_cli = true
log_cli_level = "ERROR"
markers = [
"webtest: marks tests that require the web",
"slow: marks tests as slow",
"dbtest: marks tests that make database calls",
"disable_fixture: marks tests that disable fixtures",
"integration: marks tests that require a live Tracecat stack and env vars.",
]