From 4ed2a639d8e085d54ddedcb73d93e28754aa239b Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 6 May 2021 12:58:56 -0700 Subject: start a "Code style" section in CONTRIBUTING.rst Signed-off-by: Sean Whitton --- CONTRIBUTING.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CONTRIBUTING.rst') diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 0b3f0b9..160f86c 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -57,6 +57,15 @@ Please read "How to Report Bugs Effectively" to ensure your bug report constitutes a useful contribution to the project: +Code style +========== + +- Stick to a line width of 78. An exception is made for string literals like + error messages. + +- Choose judiciously between a functional programming style and LOOP. Err on + the side of LOOP. + Signing off your commits ======================== -- cgit v1.2.3