-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (38 loc) · 1.29 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (38 loc) · 1.29 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
[project]
name = "ai-sre-workshop"
version = "1.0.0"
description = "AI SRE workshop lab by learnwithparam.com: gates, chaos and scoring"
requires-python = ">=3.13"
dependencies = [
"sre-control",
"pytest==9.1.1",
"ruff==0.16.7",
"pyyaml==6.0.3",
"httpx==0.28.1",
]
[tool.uv]
package = false
[tool.uv.sources]
sre-control = { workspace = true }
[tool.uv.workspace]
members = ["sre-control"]
[tool.pytest.ini_options]
testpaths = ["tests", "sre-control/tests"]
addopts = "--import-mode=importlib -q"
# Starlette's TestClient still references an anyio alias anyio deprecated; not our code, and
# nothing we can change short of forking the client. Every other warning still counts.
filterwarnings = [
"ignore:The anyio.abc.BlockingPortal alias is deprecated:DeprecationWarning:starlette.testclient",
]
[tool.ruff]
line-length = 110
target-version = "py313"
# The demo app keeps its upstream code and its deliberate defects (the missing timeout is an exercise).
extend-exclude = ["e2e/node_modules", "clickstack", "postgresql-db", "subscription-app", "load-generator"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "S"]
ignore = ["S101", "S603", "S607"]
[tool.ruff.lint.isort]
known-first-party = ["sre_control"]
[tool.ruff.lint.per-file-ignores]
"**/tests/**" = ["S105", "S106"]