gitignore: allow .pylintrc to be tracked
authorWangYuli <wangyuli@uniontech.com>
Mon, 23 Jun 2025 07:19:33 +0000 (15:19 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 2 Jul 2025 23:10:04 +0000 (17:10 -0600)
commit38d573a624a54ccde1384ead8af0780fe4005c2b
tree6b73bac057d4d4fccb9b66f3c2b82fc5124bab67
parent1ce50d4e0691b8d1664de78133a5e5d3457a2577
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@uniontech.com>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/1A357750FF71847E+20250623071933.311947-1-wangyuli@uniontech.com
.gitignore