Re: [PATCH v3 2/2] .gitignore: ignore Python compiled bytecode
From: Andy Shevchenko
Date: Wed Apr 16 2025 - 05:18:53 EST
On Wed, Apr 16, 2025 at 03:51:05PM +0800, Mauro Carvalho Chehab wrote:
> 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.
...
> *.mod.c
> *.o
> *.o.*
> +*.pyc
> *.patch
> *.rmeta
> *.rpm
Same comment as per v2. This list seems ordered.
--
With Best Regards,
Andy Shevchenko