From e9042fee7188021130efed1b2db31eac96c50f5b Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 29 Jul 2025 11:56:51 +0200 Subject: [PATCH] ref-manual/qa-checks.rst: add space around equal warning After commit 24772dd2ae6c ("parse/ConfHandler: Add warning for deprecated whitespace usage") in BitBake, a warning is printed is there's a missing space around an equal assignment in recipes. Add a qa-check entry to qa-checks.rst. (From yocto-docs rev: da2e9d45a4c70c5d78d225277a85cc4173e4ee7a) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/qa-checks.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 91a0f6149b..69ecad74b1 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst @@ -649,6 +649,22 @@ Errors and Warnings on the operating system. If you are seeing this message then the specified script may need to be patched to have a shorter in order to avoid runtime problems. +.. _qa-check-space-around-equal: + +- ``: has a lack of whitespace around the assignment: ''`` + + This warning indicated that there is missing spaces around an assignment. + + For example, the following assignments would print a warning:: + + FOO="bar" + FOO= "bar" + FOO ="bar" + + These should be replaced by:: + + FOO = "bar" + .. _qa-check-src-uri-bad: - ``: SRC_URI uses unstable GitHub archives [src-uri-bad]``