Re: [PATCH] gitignore: allow .pylintrc to be tracked
From: Miguel Ojeda
Date: Mon Jun 23 2025 - 04:08:56 EST
On Mon, Jun 23, 2025 at 9:20 AM WangYuli <wangyuli@xxxxxxxxxxxxx> wrote:
>
> The .pylintrc file was introduced by commit 02df8e3b333c ("docs: add a
> .pylintrc file with sys path for docs scripts") to provide Python path
> configuration for documentation scripts. However, the generic ".*" rule
> in .gitignore causes this tracked file to be ignored, leading to warnings
> during kernel builds.
>
> Add !.pylintrc to the exception list to explicitly allow this
> configuration file to be tracked by git, consistent with other
> development tool configuration files like .clang-format and .rustfmt.toml.
>
> This resolves the build warning:
> .pylintrc: warning: ignored by one of the .gitignore files
>
> Fixes: 02df8e3b333c ("docs: add a .pylintrc file with sys path for docs scripts")
> Signed-off-by: WangYuli <wangyuli@xxxxxxxxxxxxx>
I haven't used the file, but dotted tool files should be in the list, so:
Reviewed-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Thanks!
Cheers,
Miguel