From 758751f8e0c405235c270c98e041ddb8ac4afb79 Mon Sep 17 00:00:00 2001 From: "W. Evan Sheehan" Date: Mon, 30 Oct 2023 15:27:15 -0600 Subject: [PATCH] Fix formatting issues Dunno why the pre-commit hook didn't catch this --- src/unified_graphics/diag.py | 2 +- tests/test_diag.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/unified_graphics/diag.py b/src/unified_graphics/diag.py index 5b925ee9..6d43b82e 100644 --- a/src/unified_graphics/diag.py +++ b/src/unified_graphics/diag.py @@ -463,7 +463,7 @@ def history( ) -> pd.DataFrame: parquet_file = os.path.join( parquet_path, - '_'.join((model, background, system, domain, frequency)), + "_".join((model, background, system, domain, frequency)), variable.value, ) diff --git a/tests/test_diag.py b/tests/test_diag.py index 022d4556..00202062 100644 --- a/tests/test_diag.py +++ b/tests/test_diag.py @@ -346,9 +346,9 @@ def test_history(tmp_path, test_dataset, diag_parquet): "min": [5.0, -8.0], "max": [10.0, 0.0], "mean": [7.5, -4.0], - "count": [2.0, 3.0] + "count": [2.0, 3.0], } - ) + ), ) @@ -425,7 +425,7 @@ def test_history_s3(aws_credentials, moto_server, s3_client, test_dataset, monke "min": [5.0, -8.0], "max": [10.0, 0.0], "mean": [7.5, -4.0], - "count": [2.0, 3.0] + "count": [2.0, 3.0], } - ) + ), )