.gitignore: ignore Python compiled bytecode
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 24 Apr 2025 00:16:24 +0000 (08:16 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 24 Apr 2025 16:12:46 +0000 (10:12 -0600)
commitff14943ea01db967fcc35767466ea028b5723793
treeea49cd4c1066072a719ca551891e14eb6d70c4e9
parent5c5c32d7abd970f18ffca89eb6ada399bce496e5
.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@kernel.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <ae1c54ddacf6ded1f7154897b10798d4b3fdaf96.1745453655.git.mchehab+huawei@kernel.org>
.gitignore