File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ load-plugins = [
215215 " pylint.extensions.for_any_all" ,
216216 " pylint.extensions.overlapping_exceptions" ,
217217 " pylint.extensions.set_membership" ,
218+ " pylint.extensions.typing" ,
218219]
219220disable = [
220221 " fixme" ,
Original file line number Diff line number Diff line change 1- # Copyright (c) 2022 - 2023 , Oracle and/or its affiliates. All rights reserved.
1+ # Copyright (c) 2022 - 2024 , Oracle and/or its affiliates. All rights reserved.
22# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
33
44"""This DatabaseManager module handles the sqlite database connection."""
5+ import collections .abc
56import functools
67import logging
78import os
@@ -69,7 +70,7 @@ def create_tables(self) -> None:
6970class cache_return (typing .Generic [_T , _P ]): # pylint: disable=invalid-name # noqa: N801
7071 """The decorator to create a singleton DB session."""
7172
72- def __init__ (self , function : typing .Callable [_P , _T ]) -> None :
73+ def __init__ (self , function : collections . abc .Callable [_P , _T ]) -> None :
7374 functools .update_wrapper (self , function )
7475 self .function = function
7576
You can’t perform that action at this time.
0 commit comments