- fixed pylint warnings

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
This commit is contained in:
Guillaume Raffy 2026-05-29 20:24:16 +02:00
parent d9e2199d2e
commit e17287fcf8
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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):