-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (90 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (90 loc) · 2.38 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "iras"
version = "0.1.0"
description = "Autonomous Incident Response Agent System"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"langgraph>=0.2.48",
"langgraph-checkpoint-postgres>=2.0.3",
"pydantic-ai[anthropic,logfire]>=1.56.0",
"pydantic>=2.9.0",
"pydantic-settings>=2.5.0",
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"anthropic>=0.40.0",
"psycopg[binary,pool]>=3.2.1",
"logfire>=4.0.0",
"langsmith>=0.1.0",
"slack-sdk>=3.33.0",
"httpx>=0.28.0",
"python-json-logger>=2.0.7",
"anyio>=4.6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"respx>=0.21.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/iras"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "--cov=src/iras --cov-report=term-missing"
markers = [
"integration: marks tests that call real external services",
"requires_postgres: marks tests that need a real Postgres instance",
"e2e: marks full end-to-end tests",
"slow: marks slow-running tests",
]
[tool.coverage.run]
source = ["src/iras"]
branch = true
omit = [
"*/tests/*",
"src/iras/__init__.py",
"src/iras/models/__init__.py",
"src/iras/agents/__init__.py",
"src/iras/graph/__init__.py",
"src/iras/graph/nodes/__init__.py",
"src/iras/tools/__init__.py",
"src/iras/api/__init__.py",
"src/iras/api/routes/__init__.py",
"src/iras/config/__init__.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"@(abc\\.)?abstractmethod",
"if __name__ == .__main__.:",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.pylint."MESSAGES CONTROL"]
disable = ["R0801"]
[tool.pylint.SIMILARITIES]
min-similarity-lines = 10
ignore-comments = true
ignore-docstrings = true
ignore-imports = true
[tool.ruff.lint]
select = ["E", "W", "F", "I", "N", "UP"]
# E501: line-too-long — long lines inside triple-quoted string literals (system
# prompts, test fixtures) cannot be wrapped without altering content.
extend-ignore = ["E501"]
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true