Commit 4d860fc
fix(tests): narrow span.data before subscripting in commit-SHA tests
`Span.data` is `dict | list[dict] | None`, so `in` and `[]` need an isinstance
guard to satisfy the project-wide pyright run in scripts/lint.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent f4d0b3e commit 4d860fc
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
0 commit comments