[PATCH] Add some deprecation-related false positives.

Chris Lumens clumens at redhat.com
Thu Mar 26 18:22:39 UTC 2015


glib and pygobject and now spewing g-i related deprecation messages at us
for unknown reasons.  While we investigate and come up with a fix, put them
on the false positive list so tests continue to pass.
---
 tests/pylint/pylint-false-positives | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/pylint/pylint-false-positives b/tests/pylint/pylint-false-positives
index ef96849..03b7ccb 100644
--- a/tests/pylint/pylint-false-positives
+++ b/tests/pylint/pylint-false-positives
@@ -3,5 +3,8 @@
 ^E0611:[ 0-9]*,[0-9]*: No name '_isys' in module 'pyanaconda'$
 ^E0611:[ 0-9]*,[0-9]*:.*: No name '_isys' in module 'pyanaconda'$
 ^E0712:[ 0-9]*,[0-9]*:.*: Catching an exception which doesn't inherit from BaseException: GError$
+PyGIDeprecationWarning: GLib\..* is deprecated
+PyGIDeprecationWarning: GObject\..* is deprecated
+obj = getattr\(parent, name\)$
 gi/module.py:[0-9]*: Warning: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed$
-^  g_type = info\.get_g_type\(\)$
+^  g_type = info\.get_g_type\(\)$
\ No newline at end of file
-- 
2.2.2



More information about the anaconda-patches mailing list