From 1cfd09d7f3a4d50793d5c3948a6c74aac108f182 Mon Sep 17 00:00:00 2001 From: Philipp Emanuel Weidmann Date: Fri, 9 Jan 2026 14:58:56 +0530 Subject: [PATCH] ci: add style guide for Gemini --- .gemini/styleguide.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gemini/styleguide.md diff --git a/.gemini/styleguide.md b/.gemini/styleguide.md new file mode 100644 index 0000000..2b9dc20 --- /dev/null +++ b/.gemini/styleguide.md @@ -0,0 +1,9 @@ +# Style guide and coding conventions + +* Identifier names should not contain abbreviations unless those abbreviations are very widely used and understood (e.g. "KL divergence"). +* Comments should start with a capital letter and end with a period. They should use correct grammar and spelling. +* Function and method signatures **must** be fully type-annotated, including the return type (if any). +* Every Python code file **must** start with an SPDX/Copyright header. +* Pull requests should implement one change, and one change only. + * PRs containing multiple semantically independent changes **must** be split into multiple PRs. + * PRs **must not** change existing code unless the changes are *directly related* to the PR. This includes changes to formatting and comments.