File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 6969CI 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
98100What 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.
Original file line number Diff line number Diff 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]
You can’t perform that action at this time.
0 commit comments