From: Mauro Carvalho Chehab Date: Thu, 24 Apr 2025 00:16:24 +0000 (+0800) Subject: .gitignore: ignore Python compiled bytecode X-Git-Tag: v6.16-rc1~176^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff14943ea01db967fcc35767466ea028b5723793;p=thirdparty%2Fkernel%2Flinux.git .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 Reviewed-by: Miguel Ojeda Signed-off-by: Jonathan Corbet Message-ID: --- diff --git a/.gitignore b/.gitignore index f2f63e47fb886..bf5ee6e01cd42 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,7 @@ *.o *.o.* *.patch +*.pyc *.rmeta *.rpm *.rsi