From bfcc81c2b3bc5f2e8365e4eec4c56c7188889e51 Mon Sep 17 00:00:00 2001 From: munrojm Date: Sun, 18 Feb 2024 15:19:01 -0800 Subject: [PATCH] Linting --- tests/materials/test_eos.py | 3 ++- tests/materials/test_grain_boundary.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/materials/test_eos.py b/tests/materials/test_eos.py index 090121d9..b3049751 100644 --- a/tests/materials/test_eos.py +++ b/tests/materials/test_eos.py @@ -28,7 +28,8 @@ def rester(): alt_name_dict = {"material_ids": "material_id"} # type: dict custom_field_tests = { # type: dict - "material_ids": ["mp-149"]} + "material_ids": ["mp-149"] +} @pytest.mark.skipif(os.getenv("MP_API_KEY", None) is None, reason="No API key found.") diff --git a/tests/materials/test_grain_boundary.py b/tests/materials/test_grain_boundary.py index 36183673..40923c0d 100644 --- a/tests/materials/test_grain_boundary.py +++ b/tests/materials/test_grain_boundary.py @@ -24,7 +24,10 @@ def rester(): sub_doc_fields = [] # type: list -alt_name_dict = {"material_ids": "material_id", "separation_energy": "w_sep"} # type: dict +alt_name_dict = { + "material_ids": "material_id", + "separation_energy": "w_sep", +} # type: dict custom_field_tests = { "material_ids": ["mp-81"],