diff --git a/tests/pylint/runpylint.py b/tests/pylint/runpylint.py index 1b62a2c4..c909c621 100755 --- a/tests/pylint/runpylint.py +++ b/tests/pylint/runpylint.py @@ -12,6 +12,8 @@ class LoraxLintConfig(PocketLintConfig): # threading.Lock() is a factory function which returns an # instance of the Lock class that is supported by the platform FalsePositive(r"Context manager 'lock' doesn't implement __enter__ and __exit__"), + FalsePositive(r"Catching too general exception Exception"), + FalsePositive(r"^E0712.*: Catching an exception which doesn't inherit from (Base|)Exception: GError$"), ] @property