diff --git a/emmet-core/emmet/stubs/__init__.py b/emmet-core/emmet/stubs/__init__.py index 3aa4ec1f96..8935f42cf3 100644 --- a/emmet-core/emmet/stubs/__init__.py +++ b/emmet-core/emmet/stubs/__init__.py @@ -1,3 +1,4 @@ +# isort: skip_file """ This module stubs in pydantic models for common MSONable classes, particularly those in Pymatgen Use pymatgen classes in pydantic models by importing them from there when you need schema @@ -9,14 +10,14 @@ from pymatgen.core.structure import Composition, Lattice, Structure from pymatgen.entries.computed_entries import ComputedEntry, ComputedStructureEntry -from emmet.stubs.entries import ComputedEntry as StubComputedEntry -from emmet.stubs.entries import ComputedStructureEntry as StubComputedStructureEntry from emmet.stubs.math import Matrix3D, Vector3D from emmet.stubs.misc import Composition as StubComposition from emmet.stubs.structure import Lattice as StubLattice from emmet.stubs.structure import Structure as StubStructure from emmet.stubs.utils import patch_msonable, use_model from emmet.stubs.xrd import XRDPattern as StubXRDPattern +from emmet.stubs.entries import ComputedEntry as StubComputedEntry +from emmet.stubs.entries import ComputedStructureEntry as StubComputedStructureEntry """ The stub names are kept in sync with the actual classes so they