diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2020-12-24 15:29:24 +0100 |
---|---|---|
committer | hippo91 <guillaume.peillex@gmail.com> | 2020-12-24 15:29:24 +0100 |
commit | f1613f46281830a96fa7bd6d1eb97c9544e459e2 (patch) | |
tree | ff7d467af7e6d5d2f6c2fcb66c865b4712c97740 | |
parent | c9b9a00ef723d15e20810d98536a42b3d304f828 (diff) | |
download | astroid-git-f1613f46281830a96fa7bd6d1eb97c9544e459e2.tar.gz |
Reformated according to black
-rw-r--r-- | astroid/interpreter/_import/spec.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/astroid/interpreter/_import/spec.py b/astroid/interpreter/_import/spec.py index f5fdb6a0..87f5b163 100644 --- a/astroid/interpreter/_import/spec.py +++ b/astroid/interpreter/_import/spec.py @@ -296,7 +296,11 @@ def _precache_zipimporters(path=None): pic[entry_path] = zipimport.zipimporter(entry_path) except zipimport.ZipImportError: continue - return {key: value for key, value in pic.items() if isinstance(value, zipimport.zipimporter)} + return { + key: value + for key, value in pic.items() + if isinstance(value, zipimport.zipimporter) + } def _search_zip(modpath, pic): |