Commit a02c00b
[TRTLLM-11289][fix] Fix pre-commit formatting violations
Apply ruff format/lint fixes:
- Convert multi-line docstrings to single-line where appropriate (D200)
- Remove f-string prefix on strings without placeholders (F541)
- Remove unused import
- Use consistent double-quote docstrings instead of single-quotes
- Fix indentation in docstrings
Signed-off-by: Peace He <peaceh@nvidia.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2f2647d commit a02c00b
File tree
5 files changed
+64
-108
lines changed- tensorrt_llm
- _torch
- custom_ops
- models
- llmapi
- tests/integration/defs/accuracy
5 files changed
+64
-108
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | 334 | | |
337 | 335 | | |
338 | 336 | | |
| |||
700 | 698 | | |
701 | 699 | | |
702 | 700 | | |
703 | | - | |
| 701 | + | |
704 | 702 | | |
705 | 703 | | |
706 | 704 | | |
| |||
2413 | 2411 | | |
2414 | 2412 | | |
2415 | 2413 | | |
2416 | | - | |
| 2414 | + | |
2417 | 2415 | | |
2418 | 2416 | | |
2419 | 2417 | | |
| |||
2727 | 2725 | | |
2728 | 2726 | | |
2729 | 2727 | | |
2730 | | - | |
| 2728 | + | |
2731 | 2729 | | |
2732 | 2730 | | |
2733 | 2731 | | |
| |||
4402 | 4400 | | |
4403 | 4401 | | |
4404 | 4402 | | |
4405 | | - | |
| 4403 | + | |
4406 | 4404 | | |
4407 | 4405 | | |
4408 | 4406 | | |
| |||
4681 | 4679 | | |
4682 | 4680 | | |
4683 | 4681 | | |
4684 | | - | |
| 4682 | + | |
4685 | 4683 | | |
4686 | 4684 | | |
4687 | 4685 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1817 | 1817 | | |
1818 | 1818 | | |
1819 | 1819 | | |
1820 | | - | |
| 1820 | + | |
1821 | 1821 | | |
1822 | 1822 | | |
1823 | 1823 | | |
| |||
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
1883 | | - | |
1884 | | - | |
| 1883 | + | |
1885 | 1884 | | |
1886 | 1885 | | |
1887 | 1886 | | |
| |||
0 commit comments