Commit 7c7b16b
[refactor] Drop the two
Nest the truthiness checks instead of using ``continue`` to skip to
the next ``hook_result`` entry. Behaviourally identical, but each
``continue`` was being reported as a partial branch by codecov even
when both arcs were hit by tests — pytester-driven in-process tests
don't always show the ``continue → loop exit`` arc, so the partials
were sticky. With the nested form the for-loop has a single fall-
through edge and the partial disappears.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>continues in callbinrepr
1 parent 5c0c0f8 commit 7c7b16b
1 file changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | 184 | | |
187 | 185 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments