diff --git a/.pylintrc b/.pylintrc index f3ccade..bfff662 100644 --- a/.pylintrc +++ b/.pylintrc @@ -309,8 +309,8 @@ min-public-methods=2 [EXCEPTIONS] # Exceptions that will emit a warning when caught. -overgeneral-exceptions=BaseException, - Exception +overgeneral-exceptions=builtins.BaseException, + builtins.Exception [FORMAT] diff --git a/tests/test_import.py b/tests/test_import.py index 9349bad..e21fdd4 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -12,6 +12,8 @@ def test_version(): def test_import(): """Testing RCT DSP2 members """ + # pylint: disable=too-many-statements + assert hasattr(rct_dsp2.PingFinder, '__init__') pf_ = rct_dsp2.PingFinder() assert pf_ is not None