Commit 0bbda17f authored by Joseph Weston's avatar Joseph Weston
Browse files

remove unused imports and move imports to top of file

parent a1841243
......@@ -6,9 +6,6 @@
# the file AUTHORS.rst at the top-level directory of this distribution and at
# http://kwant-project.org/authors.
__all__ = ['Builder', 'Site', 'SiteFamily', 'SimpleSiteFamily', 'Symmetry',
'HoppingKind', 'Lead', 'BuilderLead', 'SelfEnergyLead', 'ModesLead']
import abc
import warnings
import operator
......@@ -19,13 +16,16 @@ import inspect
import tinyarray as ta
import numpy as np
from scipy import sparse
from . import system, graph, KwantDeprecationWarning, UserCodeError
from . import system, graph, UserCodeError
from .linalg import lll
from .operator import Density
from .physics import DiscreteSymmetry
from ._common import ensure_isinstance, get_parameters
__all__ = ['Builder', 'Site', 'SiteFamily', 'SimpleSiteFamily', 'Symmetry',
'HoppingKind', 'Lead', 'BuilderLead', 'SelfEnergyLead', 'ModesLead']
################ Sites and site families
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment