diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2021-03-05 16:04:49 +0100 |
---|---|---|
committer | hippo91 <guillaume.peillex@gmail.com> | 2021-03-05 16:04:49 +0100 |
commit | 7409caf9a897d3d85d5b5479811326942e933bad (patch) | |
tree | fa451e1e2de2ac80c3013aaea4d2b87d5b0a43ed /astroid | |
parent | 1d3490b92d1416a1a575a189fefe7b3b088236b1 (diff) | |
download | astroid-git-7409caf9a897d3d85d5b5479811326942e933bad.tar.gz |
Reformats according to black
Diffstat (limited to 'astroid')
-rw-r--r-- | astroid/brain/brain_numpy_utils.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/astroid/brain/brain_numpy_utils.py b/astroid/brain/brain_numpy_utils.py index f3058b4b..de1b6f58 100644 --- a/astroid/brain/brain_numpy_utils.py +++ b/astroid/brain/brain_numpy_utils.py @@ -33,7 +33,10 @@ def _is_a_numpy_module(node: astroid.node_classes.Name) -> bool: x for x in node.lookup(module_nickname)[1] if isinstance(x, astroid.Import) ] for target in potential_import_target: - if ("numpy", module_nickname) in target.names or ("numpy", None) in target.names: + if ("numpy", module_nickname) in target.names or ( + "numpy", + None, + ) in target.names: return True return False |