summary refs log tree commit diff
path: root/synapse/util/caches
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2021-12-23 20:22:15 -0800
committerGitHub <noreply@github.com>2021-12-23 20:22:15 -0800
commitfcfe67578f70bb4f150b83cfad708f5bc0474c1e (patch)
treed261c90da64b3788b05d54e7fcec873c467effcd /synapse/util/caches
parentFix mypy error with opentracing.tags. (#11622) (diff)
downloadsynapse-fcfe67578f70bb4f150b83cfad708f5bc0474c1e.tar.xz
Update to the current version of Black and run it on Synapse codebase (#11596)
* update black version

* run updated version of black on code

* newsfragment

* enumerate python versions
Diffstat (limited to 'synapse/util/caches')
-rw-r--r--synapse/util/caches/lrucache.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/util/caches/lrucache.py b/synapse/util/caches/lrucache.py
index eb96f7e665..3f11a2f9dd 100644
--- a/synapse/util/caches/lrucache.py
+++ b/synapse/util/caches/lrucache.py
@@ -69,7 +69,6 @@ try:
         sizer.exclude_refs((), None, "")
         return sizer.asizeof(val, limit=100 if recurse else 0)
 
-
 except ImportError:
 
     def _get_size_of(val: Any, *, recurse: bool = True) -> int: