From 43072744e55e6f372f962275ea95e622afba6406 Mon Sep 17 00:00:00 2001 From: maurice Date: Mon, 23 Oct 2023 09:29:55 +0200 Subject: [PATCH 1/2] Add missing backtick --- docs/contribute/code_guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contribute/code_guide.rst b/docs/contribute/code_guide.rst index f60c6c829d7c..6648660ce20c 100644 --- a/docs/contribute/code_guide.rst +++ b/docs/contribute/code_guide.rst @@ -89,7 +89,7 @@ Python Code Styles - Check your code style using ``python tests/scripts/ci.py lint`` - Stick to language features in ``python 3.7`` -- For functions with early returns, prefer ``if``/``elif``/``else` +- For functions with early returns, prefer ``if``/``elif``/``else`` chains for functions with parallel and short bodies to the conditions, such as functions that apply a simple mapping to the arguments. For more procedural functions, especially where the From b231b70a3f58232b91243bfd2f03f2ccdae4ca60 Mon Sep 17 00:00:00 2001 From: mauricesvp Date: Tue, 31 Oct 2023 14:47:59 +0100 Subject: [PATCH 2/2] Trigger Build