[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250623202549.3146d77d@foz.lan>
Date: Mon, 23 Jun 2025 20:25:49 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: WangYuli <wangyuli@...ontech.com>, masahiroy@...nel.org,
ojeda@...nel.org, nathan@...nel.org, alan.maguire@...cle.com,
laurent.pinchart@...asonboard.com, kris.van.hees@...cle.com,
linux@...ssschuh.net, tamird@...il.com, vegard.nossum@...cle.com,
ardb@...nel.org, lizhijian@...itsu.com, linux-kernel@...r.kernel.org,
corbet@....net, zhanjun@...ontech.com, niecheng1@...ontech.com,
guanwentao@...ontech.com
Subject: Re: [PATCH] gitignore: allow .pylintrc to be tracked
Em Mon, 23 Jun 2025 10:08:21 +0200
Miguel Ojeda <miguel.ojeda.sandonis@...il.com> escreveu:
> On Mon, Jun 23, 2025 at 9:20 AM WangYuli <wangyuli@...ontech.com> 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@...ontech.com>
>
> I haven't used the file, but dotted tool files should be in the list, so:
>
> Reviewed-by: Miguel Ojeda <ojeda@...nel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
>
> Thanks!
>
> Cheers,
> Miguel
Thanks,
Mauro
Powered by blists - more mailing lists