diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-29 11:56:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-08 23:41:11 +0100 |
commit | e9042fee7188021130efed1b2db31eac96c50f5b (patch) | |
tree | 51191bfacaa627cf9588de486bdf706918dc8785 /documentation | |
parent | ee6fec0ce5bf9e179f86589ef3a36edff08f4dcf (diff) | |
download | poky-e9042fee7188021130efed1b2db31eac96c50f5b.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/qa-checks.rst | 16 |
1 files changed, 16 insertions, 0 deletions
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 | |||
649 | on the operating system. If you are seeing this message then the specified script | 649 | on the operating system. If you are seeing this message then the specified script |
650 | may need to be patched to have a shorter in order to avoid runtime problems. | 650 | may need to be patched to have a shorter in order to avoid runtime problems. |
651 | 651 | ||
652 | .. _qa-check-space-around-equal: | ||
653 | |||
654 | - ``<filename>:<line number> has a lack of whitespace around the assignment: '<assignment>'`` | ||
655 | |||
656 | This warning indicated that there is missing spaces around an assignment. | ||
657 | |||
658 | For example, the following assignments would print a warning:: | ||
659 | |||
660 | FOO="bar" | ||
661 | FOO= "bar" | ||
662 | FOO ="bar" | ||
663 | |||
664 | These should be replaced by:: | ||
665 | |||
666 | FOO = "bar" | ||
667 | |||
652 | .. _qa-check-src-uri-bad: | 668 | .. _qa-check-src-uri-bad: |
653 | 669 | ||
654 | - ``<recipename>: SRC_URI uses unstable GitHub archives [src-uri-bad]`` | 670 | - ``<recipename>: SRC_URI uses unstable GitHub archives [src-uri-bad]`` |