From 045c2d25b30fa635b15dc7e01c5c8f8a6cd995c3 Mon Sep 17 00:00:00 2001 From: munrojm Date: Sun, 18 Feb 2024 15:24:39 -0800 Subject: [PATCH] Linting --- mp_api/client/mprester.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mp_api/client/mprester.py b/mp_api/client/mprester.py index 04a6d178..5568bde3 100644 --- a/mp_api/client/mprester.py +++ b/mp_api/client/mprester.py @@ -945,7 +945,9 @@ def get_ion_reference_data(self) -> list[dict]: query={"project": "ion_ref_data"}, fields=["identifier", "formula", "data"], paginate=True, - ).get("data") # type: ignore + ).get( + "data" + ) # type: ignore def get_ion_reference_data_for_chemsys(self, chemsys: str | list) -> list[dict]: """Download aqueous ion reference data used in the construction of Pourbaix diagrams. @@ -1224,10 +1226,8 @@ def get_bandstructure_by_material_id( Returns: bandstructure (Union[BandStructure, BandStructureSymmLine]): BandStructure or BandStructureSymmLine object """ - return ( - self.electronic_structure_bandstructure.get_bandstructure_from_material_id( # type: ignore - material_id=material_id, path_type=path_type, line_mode=line_mode - ) + return self.electronic_structure_bandstructure.get_bandstructure_from_material_id( # type: ignore + material_id=material_id, path_type=path_type, line_mode=line_mode ) def get_dos_by_material_id(self, material_id: str):