]> www.infradead.org Git - users/willy/linux.git/commit
docs: add a .pylintrc file with sys path for docs scripts
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Apr 2025 10:09:21 +0000 (18:09 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 9 Apr 2025 18:10:33 +0000 (12:10 -0600)
commit02df8e3b333c3d8550a22ffdfc969caec8462df9
treeaf3c0262fc5bd248fbbb4dc3181078daf0587663
parent9cbc2d3b137bfdb7937265c46e9e5d7e72952841
docs: add a .pylintrc file with sys path for docs scripts

The docs scripts that are used by Documentation/sphinx are
using scripts/lib/* directories to place classes that will
be used by both extensions and scripts.

When pylint is used, it needs to identify the path where
such scripts are, otherwise it will bail out. Add a simple
RC file placing the location of such files.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/7b3c8a932c50ae52ce4c848676602b46d1d4a8f9.1744106242.git.mchehab+huawei@kernel.org
.pylintrc [new file with mode: 0644]