Commit adef8b6
fmt: ruff fixes for example_sglang.py
- Add strict=True to the zip() in the output-printing loop (B905).
- Drop the unused 'import sglang as sgl' import (F401); the Engine
import is sufficient.
Missed in the previous commit because pre-commit was run before
``git add`` had staged the new file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7d9e3fe commit adef8b6
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
| |||
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
49 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments