Skip to content

Move linting to pre-commit #17

Move linting to pre-commit

Move linting to pre-commit #17

Triggered via pull request January 13, 2025 10:58
Status Failure
Total duration 2m 2s
Artifacts

pre-commit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP031): setup.py#L410
setup.py:410:20: UP031 Use format specifiers instead of percent format
Ruff (UP031): tests/kv_transfer/test_lookup_buffer.py#L23
tests/kv_transfer/test_lookup_buffer.py:23:11: UP031 Use format specifiers instead of percent format
Ruff (UP031): tests/kv_transfer/test_lookup_buffer.py#L51
tests/kv_transfer/test_lookup_buffer.py:51:11: UP031 Use format specifiers instead of percent format
Ruff (UP031): tests/kv_transfer/test_lookup_buffer.py#L97
tests/kv_transfer/test_lookup_buffer.py:97:11: UP031 Use format specifiers instead of percent format
Ruff (UP031): tests/kv_transfer/test_lookup_buffer.py#L111
tests/kv_transfer/test_lookup_buffer.py:111:11: UP031 Use format specifiers instead of percent format
Ruff (UP031): tests/kv_transfer/test_lookup_buffer.py#L125
tests/kv_transfer/test_lookup_buffer.py:125:11: UP031 Use format specifiers instead of percent format
Ruff (UP031): tools/report_build_time_ninja.py#L277
tools/report_build_time_ninja.py:277:11: UP031 Use format specifiers instead of percent format
Ruff (UP033): vllm/attention/selector.py#L101
vllm/attention/selector.py:101:11: UP033 Use `@functools.cache` instead of `@functools.lru_cache(maxsize=None)`
Ruff (UP033): vllm/entrypoints/chat_utils.py#L380
vllm/entrypoints/chat_utils.py:380:15: UP033 Use `@functools.cache` instead of `@functools.lru_cache(maxsize=None)`
Ruff (UP033): vllm/model_executor/models/gemma.py#L51
vllm/model_executor/models/gemma.py:51:11: UP033 Use `@functools.cache` instead of `@functools.lru_cache(maxsize=None)`