From 9aecda5069ef1b8845e80b59c6ff0385305ffaa4 Mon Sep 17 00:00:00 2001 From: Hannu Parviainen Date: Sun, 1 Dec 2024 15:49:39 +0000 Subject: [PATCH] Fixed code style errors. --- specreduce/calibration_data.py | 2 +- specreduce/tests/test_specphot_stds.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specreduce/calibration_data.py b/specreduce/calibration_data.py index ce02cc2..84e478f 100644 --- a/specreduce/calibration_data.py +++ b/specreduce/calibration_data.py @@ -245,7 +245,7 @@ def load_MAST_calspec( def load_onedstds( dataset: str = "snfactory", specfile: str = "EG131.dat", - cache : bool | Literal['update'] = True, + cache: bool | Literal['update'] = True, show_progress: bool = False ) -> Spectrum1D | None: """ diff --git a/specreduce/tests/test_specphot_stds.py b/specreduce/tests/test_specphot_stds.py index 9437d8d..e67f1c8 100644 --- a/specreduce/tests/test_specphot_stds.py +++ b/specreduce/tests/test_specphot_stds.py @@ -14,7 +14,7 @@ def test_load_MAST(): @pytest.mark.remote_data def test_load_MAST_bad_filename(): with pytest.warns(AstropyUserWarning, match="Downloading of"): - sp = load_MAST_calspec("j191b2b_005.fits", show_progress=False) + sp = load_MAST_calspec("j191b2b_005.fits", show_progress=False) assert sp is None