[PATCH 2/4] test: Drop u_boot_ prefix on test files
Tom Rini
trini at konsulko.com
Sat Jan 25 22:46:13 CET 2025
On Sat, Jan 25, 2025 at 02:31:37PM -0700, Simon Glass wrote:
> We know this is U-Boot so the prefix serves no purpose other than to
> make things longer and harder to read. Drop it and rename the files.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
This is a massive bit of churn and violating namespace best practices
when it seems like we really need:
[snip]
> diff --git a/test/py/tests/fit_util.py b/test/py/tests/fit_util.py
> index 16ff8c96c63..7aad4030be3 100644
> --- a/test/py/tests/fit_util.py
> +++ b/test/py/tests/fit_util.py
> @@ -5,7 +5,7 @@
>
> import os
>
> -import u_boot_utils as util
> +import utils as util
A lot more of this type of namespace shortening which I believe is the
normal Python-way of solving this issue.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250125/519d81e1/attachment.sig>
More information about the U-Boot
mailing list