Commit ebddf70
committed
Rename tool_id to job_tool_id in the job branch of _format_interface_context
mypy complained about the variable being re-typed: the tool branch
assigns tool_id = _s(...) (str), and the job branch was reassigning
tool_id = ctx.get("toolId") (Any | None) in the same function scope.
Give the job variant a distinct name -- the two mean different things
anyway (tool being viewed vs. tool that produced the job).1 parent 7b08d1a commit ebddf70
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
| 359 | + | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
0 commit comments