This website requires JavaScript.
Explore
Help
Sign in
Catcrafts
/
milos-linux
Watch
2
Star
0
Fork
You've already forked milos-linux
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
2e9adc633e
milos-linux
/
.pylintrc
2 lines
66 B
INI
Raw
Normal View
History
Unescape
Escape
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
2025-04-08 18:09:21 +08:00
[MASTER]
docs: Move the python libraries to tools/lib/python "scripts/lib" was always a bit of an awkward place for Python modules. We already have tools/lib; create a tools/lib/python, move the libraries there, and update the users accordingly. While at it, move the contents of tools/docs/lib. Rather than make another directory, just put these documentation-oriented modules under "kdoc". Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20251110220430.726665-2-corbet@lwn.net>
2025-11-10 15:04:29 -07:00
init-hook
=
'import sys; sys.path += ["tools/lib/python"]'
Reference in a new issue
Copy permalink