Re: [PATCH v3 2/2] .gitignore: ignore Python compiled bytecode

Andy Shevchenko
2025-04-16T09:18:33Z

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