Commit graph

7 commits

Author SHA1 Message Date
Stefan Hansson
3d60673f64
pmb.commands.kconfig_check: Annotate None return types (MR 2411)
Otherwise we don't get type checking in these functions.
2024-09-26 17:34:06 +02:00
Oliver Smith
479bad049f
kconfig check: don't print URL for each warning (MR 2399)
Instead of printing an URL with each warning, print one once at the
end. This gives less cluttered output, and we don't have information
about each and every option on that wiki page anyway (and given that we
now have so many options, I don't think it's good use of time to add it
there.)
2024-09-08 00:09:16 +02:00
Oliver Smith
ade0657cd2
kconfig check: NonBugError for --file too (MR 2399)
Use NonBugError when printing the error for the --file code path too.
2024-09-08 00:09:16 +02:00
Oliver Smith
5e9c1601f2
kconfig check: use NonBugError (MR 2384)
Don't print a trace if kconfig check fails.
2024-08-12 19:32:19 +02:00
Oliver Smith
f1afdeaaa1
kconfig check: add --keep-going argument (MR 2384)
Abort the "pmbootstrap kconfig check" on the first error, unless the
--keep-going argument was passed. This makes it easier to go through the
failed kernels one by one until they are all fixed.
2024-08-12 19:32:10 +02:00
Caleb Connolly
65d23905bc
treewide: another round of mypy fixes (MR 2344)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-07-08 16:01:13 +02:00
Oliver Smith
b6058e3569
pmb.helpers.frontend.kconfig: modernize (MR 2333)
Create new pmb/commands/kconfig_check.py and _edit.py files and move
related code there.
2024-06-30 18:04:31 +02:00