Skip to content

kconfig cleanups and mypy annotations

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 8 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 8 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchMarc-André LureauPhilippe Mathieu-DaudéAlistair Francis
SeriesR-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] kconfig cleanups and mypy annotations

Modernize the code a bit and fix some issues that were found while adding mypy annotations to minikconf.

While this stops short of adding flake8 and pylint, it already improves the style and fixes a bug (see patches 1-2).

Paolo Bonzini (13):
kconfig: remove duplicate declaration of CONFIG_CXL
kconfig: remove duplicate declaration of CONFIG_MIPS_BOSTON_AIA
minikconf: run through isort
minikconf: small cleanups and dead code removal
minikconf: move command-line assignment out of the parser
minikconf: fix type mismatch in do_declaration
minikconf: simplify self.tok
minikconf: modernize handling of include chain
minikconf: use .items()
minikconf: pull main program into a function
minikconf: remove unnecessary semicolons
minikconf: replace else with early return and avoid unnecessary else
minikconf: add mypy annotations

 hw/Kconfig              |   1 -
 hw/cxl/Kconfig          |   3 -
 hw/misc/Kconfig         |   8 -
 hw/riscv/Kconfig        |   4 +
 python/tests/linters.py |   6 +
 scripts/minikconf.py    | 465 +++++++++++++++++++++-------------------
 6 files changed, 254 insertions(+), 233 deletions(-)
 delete mode 100644 hw/cxl/Kconfig
Signature · 1 line
2.54.0