From a37b4a940e6e7b3b3641e6f7b05a1e2507ee7e94 Mon Sep 17 00:00:00 2001 From: Thomas Parnell Date: Fri, 12 Jun 2026 12:23:04 +0200 Subject: [PATCH] [Doc] AGENTS.md: add section about coding style (#45301) Signed-off-by: Thomas Parnell --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 2119a46e28..1f3a083f80 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -105,6 +105,15 @@ The line length limit for Python code is 88 characters. If you are not sure, use Use [Google-style docstrings](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings) (`Args:`/`Returns:`/`Raises:` sections), not reStructuredText/Sphinx fields (`:param:`, `:return:`, `:rtype:`). +### Coding style guidelines + +Follow these rules for all code changes in this repository: + +- Try to match existing code style. +- Code should be self-documenting and self-explanatory. +- Keep comments and docstrings minimal and concise. +- Assume the reader is familiar with vLLM. + ### Diagnosing CI failures Buildkite logs are public; no login needed. Details: [docs/contributing/ci/failures.md](docs/contributing/ci/failures.md).