diff --git a/cocluto/SimpaDbUtil.py b/cocluto/SimpaDbUtil.py index 3649cbb..6cc1dd7 100644 --- a/cocluto/SimpaDbUtil.py +++ b/cocluto/SimpaDbUtil.py @@ -494,7 +494,7 @@ class SqlFile(SqliteDb): # - the file is stored on a solid state disk try: os.remove(sqlite_db_path) - except BaseException: + except BaseException: # pylint: disable=broad-except pass super().__init__(sqlite_db_path) with open(str(self._sql_file_path), 'r', encoding='utf8') as f: # str conversion has been added to support older versions of python in which open don't accept arguments of type Path diff --git a/test/test_quman.py b/test/test_quman.py index 7b7f5c9..06d448b 100644 --- a/test/test_quman.py +++ b/test/test_quman.py @@ -11,7 +11,7 @@ class QumanTestCase(unittest.TestCase): logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') - def setUp(self) -> None: + def setUp(self) -> None: # pylint: disable=useless-super-delegation return super().setUp() def test_quman(self):