[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eb7c854d1bddab19ec1105b928463bb1845d4d50.1744786420.git.mchehab+huawei@kernel.org>
Date: Wed, 16 Apr 2025 14:57:39 +0800
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Jonathan Corbet <corbet@....net>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
"Andy Shevchenko" <andriy.shevchenko@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Thomas Weißschuh <linux@...ssschuh.net>,
Ard Biesheuvel <ardb@...nel.org>,
Kris Van Hees <kris.van.hees@...cle.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Li Zhijian <lizhijian@...itsu.com>,
Masahiro Yamada <masahiroy@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Alcock <nick.alcock@...cle.com>,
Tamir Duberstein <tamird@...il.com>,
Vegard Nossum <vegard.nossum@...cle.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 2/2] .gitignore: ignore Python compiled bytecode
While the building system doesn't create any Python JIT bytecode,
if one manually runs kernel-doc.py or get_abi.py, Python will,
by default, create a bytecode and store it under scripts/lib/*.
This is normal, and not controlled by the Kernel itself. So,
add *.pyc as an extension to be ignored.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index f2f63e47fb88..2e01bc0b2d2a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,6 +39,7 @@
*.mod.c
*.o
*.o.*
+*.pyc
*.patch
*.rmeta
*.rpm
--
2.49.0
Powered by blists - more mailing lists