[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1A357750FF71847E+20250623071933.311947-1-wangyuli@uniontech.com>
Date: Mon, 23 Jun 2025 15:19:33 +0800
From: WangYuli <wangyuli@...ontech.com>
To: 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,
mchehab+huawei@...nel.org,
lizhijian@...itsu.com
Cc: linux-kernel@...r.kernel.org,
corbet@....net,
zhanjun@...ontech.com,
niecheng1@...ontech.com,
guanwentao@...ontech.com,
WangYuli <wangyuli@...ontech.com>
Subject: [PATCH] gitignore: allow .pylintrc to be tracked
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>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index bf5ee6e01cd4..929054df5212 100644
--- a/.gitignore
+++ b/.gitignore
@@ -114,6 +114,7 @@ modules.order
!.gitignore
!.kunitconfig
!.mailmap
+!.pylintrc
!.rustfmt.toml
#
--
2.50.0
Powered by blists - more mailing lists