Commit 4b082b4
style(locations): lint-clean the unset-context filter
Replace the crash-prone set-membership filter with a truthiness dict
comprehension: never hashes the value (crash-robust for any parser input),
and satisfies the repo's ruff rules (no manual loop, no != "" comparison).
Drops None/""/0/empty — all "no data" for the code location's context
fields. Same fix, lint-clean form.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent dc08c80 commit 4b082b4
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments