From: Collin Funk <collin.funk1@gmail.com>
Date: Wed, 3 Apr 2024 09:25:53 +0000 (-0700)
Subject: gnulib-tool.py: Ignore pylint 'unidiomatic-typecheck' warnings.
X-Git-Tag: v1.0~177
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=f0a47e3ff281afe7d7b0758e43dfe9a8223ebbb4;p=gnulib.git

gnulib-tool.py: Ignore pylint 'unidiomatic-typecheck' warnings.

* pygnulib/.pylintrc: Disable warning C0123 since we don't mind using
'type() is' instead of 'isinstance'.
---

diff --git a/ChangeLog b/ChangeLog
index 799ee152e6..e7d3087f30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-03  Collin Funk  <collin.funk1@gmail.com>
+
+	gnulib-tool.py: Ignore pylint 'unidiomatic-typecheck' warnings.
+	* pygnulib/.pylintrc: Disable warning C0123 since we don't mind using
+	'type() is' instead of 'isinstance'.
+
 2024-04-03  Collin Funk  <collin.funk1@gmail.com>
 
 	gnulib-tool.py: Don't ignore the argument to --doc-base.
diff --git a/pygnulib/.pylintrc b/pygnulib/.pylintrc
index 7c4c1a338c..15e2e8e800 100644
--- a/pygnulib/.pylintrc
+++ b/pygnulib/.pylintrc
@@ -1,7 +1,7 @@
 # .pylintrc
 
 [MESSAGES CONTROL]
-disable=C0103,C0114,C0121,C0209,C0301,C0302,R0902,R0912,R0913,R0914,R0915,R1705,R1702,R1720
+disable=C0103,C0114,C0121,C0123,C0209,C0301,C0302,R0902,R0912,R0913,R0914,R0915,R1705,R1702,R1720
 
 # Local Variables:
 # mode: conf