summaryrefslogtreecommitdiff
path: root/networkx/convert.py
diff options
context:
space:
mode:
authorMridul Seth <seth.mridul@gmail.com>2022-06-02 19:54:09 +0400
committerGitHub <noreply@github.com>2022-06-02 08:54:09 -0700
commit5c0b11afb4c0882a070d522ef3fa41482ba935d3 (patch)
tree1b8f21413afd65617420203cf834a8d15d8282ab /networkx/convert.py
parent4dba24ba22fc8c4906e16f67b5cf103ee0a830b3 (diff)
downloadnetworkx-5c0b11afb4c0882a070d522ef3fa41482ba935d3.tar.gz
Use isort with pre-commit to enforce import guidelines (#5659)
* Add isort to pre-commit * Run isort on all python files (except __init__.py ones)
Diffstat (limited to 'networkx/convert.py')
-rw-r--r--networkx/convert.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/networkx/convert.py b/networkx/convert.py
index c7468b84..153f4887 100644
--- a/networkx/convert.py
+++ b/networkx/convert.py
@@ -16,9 +16,10 @@ See Also
nx_agraph, nx_pydot
"""
import warnings
-import networkx as nx
from collections.abc import Collection, Generator, Iterator
+import networkx as nx
+
__all__ = [
"to_networkx_graph",
"from_dict_of_dicts",