diff --git a/pymatgen/analysis/interfaces/zsl.py b/pymatgen/analysis/interfaces/zsl.py index 20d2491d0a9..e36b08a539d 100644 --- a/pymatgen/analysis/interfaces/zsl.py +++ b/pymatgen/analysis/interfaces/zsl.py @@ -184,7 +184,6 @@ def __call__(self, film_vectors, substrate_vectors, lowest=False) -> Iterator[ZS Runs the ZSL algorithm to generate all possible matching :return: """ - film_area = vec_area(*film_vectors) substrate_area = vec_area(*substrate_vectors) diff --git a/pymatgen/symmetry/analyzer.py b/pymatgen/symmetry/analyzer.py index 1864828d323..e48f8d89775 100644 --- a/pymatgen/symmetry/analyzer.py +++ b/pymatgen/symmetry/analyzer.py @@ -40,7 +40,8 @@ @lru_cache(maxsize=32) def _get_symmetry_dataset(cell, symprec, angle_tolerance): """Simple wrapper to cache results of spglib.get_symmetry_dataset since this call is - expensive.""" + expensive. + """ return spglib.get_symmetry_dataset(cell, symprec=symprec, angle_tolerance=angle_tolerance)