From 9351261bbffd527222850be67191b3f59ae502d5 Mon Sep 17 00:00:00 2001 From: Nathan Hui Date: Tue, 23 Jul 2024 19:54:56 -0700 Subject: [PATCH] style: Updates pylint --- .pylintrc | 4 ++-- tests/test_import.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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