mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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:
committed by
Richard Purdie
parent
ee6fec0ce5
commit
e9042fee71
@@ -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:
|
||||
|
||||
- ``<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:
|
||||
|
||||
- ``<recipename>: SRC_URI uses unstable GitHub archives [src-uri-bad]``
|
||||
|
||||
Reference in New Issue
Block a user