🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel
Article #30

Re: [PATCH v1 06/10] kconfig-checker: Split schema to support component reuse

#30
From: Ahmed S. Darwish
Date: Mon, 09 Nov 2026 18:40
41 lines
3620 bytes
On Sat, 07 Nov 2026, sashiko-bot@kernel.org wrote:
> > +from jsonschema import Draft7Validator
>
> [Severity: Low]
> Does this import need a "# type: ignore" comment to match the earlier
> "import jsonschema" statement?
>

I don't think so, as mypy does not complain in this situation:

   $ mypy --version

   mypy 2.4.0 (compiled: no)

   $ mypy --strict --no-warn-return-any tools/kconfig-checker/check.py

   Success: no issues found in 1 source file

So I'll keep this as-is.

>
> [Severity: Low]
> Schema.as_dict() has no remaining callers in this patch or later in the
> series and could be removed.
>

Correct, will remove it.

>
> [Severity: Low]
> Should Documentation/tools/kconfig_checker.rst also be updated here now
> that tools/kconfig-checker/schema.yml has moved to
> tools/kconfig-checker/schemas/base.yml and
> tools/kconfig-checker/schemas/rules.yml?
>

Correct, the documentation should be updated in this very same patch
(instead of updating the docs two patches foreward.)

Thanks,
Ahmed
Technical Details
Message-ID: <NXCrD-aRww-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-33@gated-at.bofh.it> <NWLdD-amPt-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Ahmed S. Darwish" <darwi@linutronix.de>
Newsgroups: linux.debian.kernel,linux.kernel
Subject: Re: [PATCH v1 06/10] kconfig-checker: Split schema to support  component reuse
Date: Mon, 09 Nov 2026 19:40:01 +0100
Message-ID: <NXCrD-aRww-7@gated-at.bofh.it>
References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-33@gated-at.bofh.it> <NWLdD-amPt-13@gated-at.bofh.it>
X-Original-To: sashiko-reviews@lists.linux.dev
X-Mailbox-Line: From debian-kernel-request@lists.debian.org  Mon Nov  9 18:39:08 2026
Old-Return-Path: <darwi@linutronix.de>
X-Amavis-Spam-Status: No, score=-1.5 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-2, CC_TOO_MANY=3, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3]
 autolearn=no autolearn_force=no
X-Policyd-Weight: using cached result; rate:hard: -4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailing-List: <debian-kernel@lists.debian.org> archive/latest/158173
List-ID: <debian-kernel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kernel/>
List-Archive: https://lists.debian.org/msgid-search/avIPTjjZ1FZ9sZMg@lx-t490
Approved: robomod@news.nic.it
Lines: 41
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Clark Williams <clrkwllms@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Nicolas Schier <nsc@kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Frederic Weisbecker <frederic@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	John Ogness <john.ogness@linutronix.de>,
	Derek Barbosa <debarbos@redhat.com>,
	Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>,
	Daan De Meyer <daan.j.demeyer@gmail.com>,
	Luca Boccassi <luca.boccassi@gmail.com>,
	linux-rt-devel@lists.linux.dev, debian-kernel@lists.debian.org,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date: Mon, 9 Nov 2026 19:22:06 +0100
X-Original-Message-ID: <avIPTjjZ1FZ9sZMg@lx-t490>
X-Original-References: <20261106091922.7560-1-darwi@linutronix.de>
 <20261106091922.7560-7-darwi@linutronix.de>
 <sashiko-outbox-202761@kernel.org>