From bcbf2deb42362232eb5e1414c5d99026f045e2e4 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 2 Sep 2019 15:43:13 +0200 Subject: [PATCH] Documentation/coding_style.md: Update line length limit Line length limit was bumped to 96 characters, but the coding style did not reflect such a change. Change-Id: Ifdbb8bc04e49e1fbe9b0c8a642ae814d5a60004a Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/35215 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- Documentation/coding_style.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/coding_style.md b/Documentation/coding_style.md index 048b8e673e..ac0de4ea9d 100644 --- a/Documentation/coding_style.md +++ b/Documentation/coding_style.md @@ -80,11 +80,11 @@ Get a decent editor and don't leave whitespace at the end of lines. Coding style is all about readability and maintainability using commonly available tools. -The limit on the length of lines is 80 columns and this is a strongly +The limit on the length of lines is 96 columns and this is a strongly preferred limit. -Statements longer than 80 columns will be broken into sensible chunks, -unless exceeding 80 columns significantly increases readability and does +Statements longer than 96 columns will be broken into sensible chunks, +unless exceeding 96 columns significantly increases readability and does not hide information. Descendants are always substantially shorter than the parent and are placed substantially to the right. The same applies to function headers with a long argument list. However, never break