Update cachetools to 5.0.0 (#7455)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Akuli
2022-03-08 21:20:22 +02:00
committed by GitHub
parent 889164cb0c
commit 6c967d4202
12 changed files with 57 additions and 25 deletions

View File

@@ -1,7 +1,22 @@
cachetools.Cache.get
cachetools.cache.Cache.get
# it looks like cachetools stubs are really out of date, so none of the modules
# referenced exist anymore
cachetools\..*\.__(get|set|del)item__ # has extra argument
cachetools\..*TTLCache.__repr__
# stubs omit defaulted arguments that are meant to be optimizations, not provided by user
cachetools.FIFOCache.__delitem__
cachetools.FIFOCache.__setitem__
cachetools.LFUCache.__delitem__
cachetools.LFUCache.__getitem__
cachetools.LFUCache.__setitem__
cachetools.LRUCache.__delitem__
cachetools.LRUCache.__getitem__
cachetools.LRUCache.__setitem__
cachetools.MRUCache.__delitem__
cachetools.MRUCache.__getitem__
cachetools.MRUCache.__setitem__
cachetools.TLRUCache.__delitem__
cachetools.TLRUCache.__getitem__
cachetools.TLRUCache.__setitem__
cachetools.TTLCache.__delitem__
cachetools.TTLCache.__getitem__
cachetools.TTLCache.__setitem__
cachetools._TimedCache.__len__
cachetools._TimedCache.__repr__