From e17287fcf8a9c235fc38ccd37c2c0fc6eb3fa5da Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Fri, 29 May 2026 20:24:16 +0200 Subject: [PATCH] - fixed pylint warnings work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093] --- cocluto/SimpaDbUtil.py | 2 +- test/test_quman.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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):