- fixed pylint warnings
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
This commit is contained in:
parent
d9e2199d2e
commit
e17287fcf8
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue