litellm/test-quality-budget.json
ryan-crabbe-berri 8d821edfa5 fix(ci): TQ009 stops at an early exit that skips the reporting below it
A handler can report on the path that reaches the `raise` and still swallow on
one that leaves before it:

    except Exception as e:
        if "try pulling it first" in str(e):
            return
        pytest.fail(f"Error occurred: {e}")

The scan now stops at the first statement that can leave the handler without
reporting, so a `return`, `break` or `continue` above the reporting statement
makes the handler swallowing rather than clean. A `return` inside a nested
`def` is not one of those, since it leaves the nested body, so the walk stops
at a nested scope.

Two more sites, 42 to 44.
2026-08-27 09:37:43 -07:00

29 lines
318 B
JSON

{
"TQ001": {
"limit": 744
},
"TQ002": {
"limit": 742
},
"TQ003": {
"limit": 62
},
"TQ004": {
"limit": 469
},
"TQ005": {
"limit": 2405
},
"TQ006": {
"limit": 34
},
"TQ007": {
"limit": 117
},
"TQ008": {
"limit": 11139
},
"TQ009": {
"limit": 44
}
}