diff --git a/xgi/convert.py b/xgi/convert.py index 1a5a55328..daa1fdb0d 100644 --- a/xgi/convert.py +++ b/xgi/convert.py @@ -5,11 +5,23 @@ import pandas as pd from networkx.algorithms import bipartite from numpy import matrix, ndarray -from scipy.sparse import (coo_array, coo_matrix, csc_array, csc_matrix, - csr_array, csr_matrix, lil_array, lil_matrix) - -from .classes import (Hypergraph, SimplicialComplex, maximal_simplices, - set_edge_attributes) +from scipy.sparse import ( + coo_array, + coo_matrix, + csc_array, + csc_matrix, + csr_array, + csr_matrix, + lil_array, + lil_matrix, +) + +from .classes import ( + Hypergraph, + SimplicialComplex, + maximal_simplices, + set_edge_attributes, +) from .exception import XGIError from .generators import empty_hypergraph, empty_simplicial_complex from .linalg import adjacency_matrix, incidence_matrix