From df65154415db7e25ad07ffd3fa4ad65012e2fdab Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 12 Jan 2025 19:12:18 +0200 Subject: [PATCH] contrib : filename guidelines [no ci] --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b59f2c37d..207cbd0c4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,6 +98,9 @@ > [!NOTE] > This guideline is yet to be applied to the `llama.cpp` codebase. New code should follow this guideline. +- C/C++ filenames are all lowercase with dashes. Headers use the `.h` extension. Source files use the `.c` or `.cpp` extension +- Python filenames are all lowercase with underscores + - (TODO: abbreviations usage) # Preprocessor directives