[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2020-12-30 14:59:17 +00:00
parent 2d2e73c1bc
commit eca1db8622

View file

@ -785,7 +785,7 @@ class _ShelfCacheBackend:
"""Used as a backend for caching cacheable requests."""
def __init__(self, file_path=None):
self.shelf = shelve.open(file_path, flag='n')
self.shelf = shelve.open(file_path, flag="n")
self.cache_keys = set(self.shelf.keys())
def __contains__(self, key):
@ -1398,6 +1398,7 @@ class _Taggable(_BaseObject):
class PyLastError(Exception):
"""Generic exception raised by PyLast"""
pass