[master 3/3] Add pylint false positive to list of pylint false positives.

mulkieran installerbot-noreply at redhat.com
Sat Mar 7 18:03:55 UTC 2015


From: mulhern <amulhern at redhat.com>

This is another false positive resulting from pylint's inability to find
GLib in gi.repository.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 tests/pylint/pylint-false-positives | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/pylint/pylint-false-positives b/tests/pylint/pylint-false-positives
index 248a0f6..d33c566 100644
--- a/tests/pylint/pylint-false-positives
+++ b/tests/pylint/pylint-false-positives
@@ -1,4 +1,5 @@
 ^blivet/.*: \[E0611\(no\-name\-in\-module\).*\] No name 'GLib' in module 'gi.repository'$
+^blivet/.*: \[E0712\(catching\-non\-exception\).*\] Catching an exception which doesn't inherit from BaseException: GError$
 ^blivet/__init__.py:[[:digit:]]+: \[W0602\(global\-variable\-not\-assigned\), enable_installer_mode\] Using global for 'BootLoaderError' but no assignment is done$
 ^blivet/__init__.py:[[:digit:]]+: \[W0602\(global\-variable\-not\-assigned\), enable_installer_mode\] Using global for 'ERROR_RAISE' but no assignment is done$
 ^blivet/__init__.py:[[:digit:]]+: \[W0602\(global\-variable\-not\-assigned\), enable_installer_mode\] Using global for 'ROOT_PATH' but no assignment is done$


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/f416330cf6e3189799e841d368a5b281b196635c


More information about the anaconda-patches mailing list