scripts/container: Minor fixups suggested by ruff
Get series with b4
b4 am 20260122-scripts-container-ruff-fixes-v1-0-fd1b928c3f10@kernel.org change-id 20260122-scripts-container-ruff-fixes-4d38fc92771aVersions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scripts/container: Turn runtimes class variable into a tuplescripts/ | +1 | 1 reply | |
| 2/3 | scripts/container: Use list comprehension in get_names()scripts/ | +1 | 1 reply | |
| 3/3 | scripts/container: Use iterable unpacking for _get_opts()scripts/ | +4 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Guillaume Tucker |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] scripts/container: Minor fixups suggested by ruff
Hi all,
This series fixes a few warnings that I see when running
$ ruff check --select C4,RUF scripts/container
which were the few warnings from my personal ruff.toml that seemed most interesting.
I will apply these on top of the initial scripts/container change.
---
Nathan Chancellor (3):
scripts/container: Turn runtimes class variable into a tuple scripts/container: Use list comprehension in get_names() scripts/container: Use iterable unpacking for _get_opts()
scripts/container | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
---
base-commit: 6eac13c876805f61bbb588eaff5ada0b6dc603e8
change-id: 20260122-scripts-container-ruff-fixes-4d38fc92771a
Best regards,
Signature · 1 line
Nathan Chancellor <[email protected]>