Skip to content

Commit ff14943

Browse files
mchehabJonathan Corbet
authored andcommitted
.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>
1 parent 5c5c32d commit ff14943

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
*.o
4141
*.o.*
4242
*.patch
43+
*.pyc
4344
*.rmeta
4445
*.rpm
4546
*.rsi

0 commit comments

Comments
 (0)