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 <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Antonin Godard
2025-07-29 11:56:51 +02:00
committed by Richard Purdie
parent ee6fec0ce5
commit e9042fee71

View File

@@ -649,6 +649,22 @@ Errors and Warnings
on the operating system. If you are seeing this message then the specified script 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. may need to be patched to have a shorter in order to avoid runtime problems.
.. _qa-check-space-around-equal:
- ``<filename>:<line number> has a lack of whitespace around the assignment: '<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: .. _qa-check-src-uri-bad:
- ``<recipename>: SRC_URI uses unstable GitHub archives [src-uri-bad]`` - ``<recipename>: SRC_URI uses unstable GitHub archives [src-uri-bad]``