diff --git a/cachier/base_core.py b/cachier/base_core.py index 1bc73a3..99b1d9a 100644 --- a/cachier/base_core.py +++ b/cachier/base_core.py @@ -8,7 +8,8 @@ import abc # for the _BaseCore abstract base class -class _BaseCore(object): + +class _BaseCore(): __metaclass__ = abc.ABCMeta def __init__(self, stale_after, next_time): diff --git a/tests/test_pickle_core.py b/tests/test_pickle_core.py index c1e36d6..7dc2537 100644 --- a/tests/test_pickle_core.py +++ b/tests/test_pickle_core.py @@ -238,7 +238,7 @@ def _calls_bad_cache(res_queue, trash_cache): cache_file.seek(0) cache_file.truncate() res_queue.put(res) - except Exception as exc: + except Exception as exc: # skipcq: PYL-W0703 res_queue.put(exc) @@ -301,7 +301,7 @@ def _calls_delete_cache(res_queue, del_cache): os.remove(_DEL_CACHE_FPATH) # print(os.path.isfile(_DEL_CACHE_FPATH)) res_queue.put(res) - except Exception as exc: + except Exception as exc: # skipcq: PYL-W0703 # print('found') res_queue.put(exc)