Skip to content

Commit bf7fcfb

Browse files
committed
docs: clarify CI matrix dimensions; drop stale filterwarnings entry
1 parent 740b8f8 commit bf7fcfb

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

AGENTS.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@
6969
CI requires 100% (`fail_under = 100`, `branch = true`).
7070

7171
- Full check: `./scripts/test` (~23s). Runs coverage + `strict-no-cover` on the
72-
default Python. Not identical to CI: CI also runs 3.10–3.14 × {ubuntu, windows},
73-
and some branch-coverage quirks only surface on specific matrix entries.
72+
default Python. Not identical to CI: CI runs 3.10–3.14 × {ubuntu, windows}
73+
× {locked, lowest-direct}, and some branch-coverage quirks only surface on
74+
specific matrix entries. To reproduce a `lowest-direct` failure locally,
75+
resync with `uv sync --upgrade --resolution lowest-direct` first.
7476
- Targeted check while iterating (~4s, deterministic):
7577

7678
```bash
@@ -97,8 +99,9 @@ git diff origin/main... | grep -E '^\+.*(pragma|type: ignore|noqa)'
9799

98100
What the existing pragmas mean:
99101

100-
- `# pragma: no cover` — line is never executed. CI's `strict-no-cover` fails if
101-
it IS executed. When your test starts covering such a line, remove the pragma.
102+
- `# pragma: no cover` — line is never executed. CI's `strict-no-cover` (skipped
103+
on Windows runners) fails if it IS executed. When your test starts covering
104+
such a line, remove the pragma.
102105
- `# pragma: lax no cover` — excluded from coverage but not checked by
103106
`strict-no-cover`. Use for lines covered on some platforms/versions but not
104107
others.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ filterwarnings = [
185185
# This should be fixed on Uvicorn's side.
186186
"ignore::DeprecationWarning:websockets",
187187
"ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning",
188-
"ignore:Returning str or bytes.*:DeprecationWarning:mcp.server.lowlevel",
189188
# pywin32 internal deprecation warning
190189
"ignore:getargs.*The 'u' format is deprecated:DeprecationWarning",
191190
]

0 commit comments

Comments
 (0)