[CI] Enable ruff `INP` to require `__init__.py` under `vllm/` (#56264)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

Harry Mellor committed Sep 10, 2026 at 14:49 UTC 364679feabbbd0243ca97095cab1fe3dcbf782f4
1 file changed +4
pyproject.toml
+4
@@ -55,6 +55,8 @@ where = ["."]
55 include = ["vllm*"]
56
57 [tool.ruff.lint.per-file-ignores]
58 +# `vllm` is the only installed package; everything else is standalone scripts
59 +"!vllm/**" = ["INP"]
60 "vllm/third_party/**" = ["ALL"]
61 "vllm/version.py" = ["F401"]
62 "vllm/_version.py" = ["ALL"]
@@ -77,6 +79,8 @@ select = [
79 "I",
80 # flake8-logging-format
81 "G",
82 + # flake8-no-pep420
83 + "INP",
84 ]
85 ignore = [
86 # star imports