diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 21e6b879..945c1672 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,6 @@ repos: - id: check-added-large-files # Code formatting with black - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black diff --git a/nowcast/daily_river_flows.py b/nowcast/daily_river_flows.py index 86f264b6..8cf4d884 100644 --- a/nowcast/daily_river_flows.py +++ b/nowcast/daily_river_flows.py @@ -1,5 +1,5 @@ """ - Module for calculating daily river flows +Module for calculating daily river flows """ import functools diff --git a/nowcast/figures/publish/surface_current_tiles.py b/nowcast/figures/publish/surface_current_tiles.py index 38a6a15c..9e918563 100644 --- a/nowcast/figures/publish/surface_current_tiles.py +++ b/nowcast/figures/publish/surface_current_tiles.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -""" Produce surface currents tile figures in both the website themed and un-themed style. -""" +"""Produce surface currents tile figures in both the website themed and un-themed style.""" import datetime diff --git a/nowcast/lib.py b/nowcast/lib.py index b94f680c..d61ea1be 100644 --- a/nowcast/lib.py +++ b/nowcast/lib.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""SalishSeaCast utility functions for use by workers. -""" +"""SalishSeaCast utility functions for use by workers.""" import grp import logging import logging.handlers diff --git a/nowcast/plots.py b/nowcast/plots.py index 107eae06..4f2c73f8 100644 --- a/nowcast/plots.py +++ b/nowcast/plots.py @@ -1,9 +1,9 @@ -""" script to generate plots for a simulation - Use: python plots.py sim_date mode - Eg: python plots.py 2015-03-06 nowcast generates plots for the - March 6, 2015 nowcast. sim_date corresponds to the date simulated. - plots are stored in a directory mode/run_dat, where run_date is the - date the simulation was run. +"""script to generate plots for a simulation +Use: python plots.py sim_date mode +Eg: python plots.py 2015-03-06 nowcast generates plots for the +March 6, 2015 nowcast. sim_date corresponds to the date simulated. +plots are stored in a directory mode/run_dat, where run_date is the +date the simulation was run. """ import datetime diff --git a/nowcast/ssh_sftp.py b/nowcast/ssh_sftp.py index b46d8e22..d37eed27 100644 --- a/nowcast/ssh_sftp.py +++ b/nowcast/ssh_sftp.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""SalishSeaCast ssh and sftp client functions. -""" +"""SalishSeaCast ssh and sftp client functions.""" import os import paramiko diff --git a/nowcast/workers/ping_erddap.py b/nowcast/workers/ping_erddap.py index ca4f18fd..24e73a6d 100644 --- a/nowcast/workers/ping_erddap.py +++ b/nowcast/workers/ping_erddap.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """SalishSeaCast worker that creates flag files to tell the ERDDAP server - to reload datasets for which new results have been downloaded. +to reload datasets for which new results have been downloaded. """ import logging from pathlib import Path diff --git a/nowcast/workers/watch_ww3.py b/nowcast/workers/watch_ww3.py index 419f16b1..0189abfd 100644 --- a/nowcast/workers/watch_ww3.py +++ b/nowcast/workers/watch_ww3.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """Salish Sea nowcast worker that monitors and reports on the progress of a WaveWatch3 run - on the ONC cloud computing facility. +on the ONC cloud computing facility. """ import logging import os diff --git a/tests/conftest.py b/tests/conftest.py index 711030f5..fe37527b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Fixtures for SalishSeaCast test suite. -""" +"""Fixtures for SalishSeaCast test suite.""" from pathlib import Path from unittest.mock import patch diff --git a/tests/release_mgmt/test_tag_release.py b/tests/release_mgmt/test_tag_release.py index 6e7ad89c..99b442d6 100644 --- a/tests/release_mgmt/test_tag_release.py +++ b/tests/release_mgmt/test_tag_release.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast tag_release script. -""" +"""Unit tests for SalishSeaCast tag_release script.""" from unittest.mock import Mock, call, patch import hglib diff --git a/tests/test_analyze.py b/tests/test_analyze.py index 6fc1029e..cd4fe28a 100644 --- a/tests/test_analyze.py +++ b/tests/test_analyze.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for analyze module. -""" +"""Unit tests for analyze module.""" import numpy as np import pytest diff --git a/tests/test_daily_river_flows.py b/tests/test_daily_river_flows.py index e3b49acc..a01540fd 100644 --- a/tests/test_daily_river_flows.py +++ b/tests/test_daily_river_flows.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for daily_river_flows module. -""" +"""Unit tests for daily_river_flows module.""" import io import os import textwrap diff --git a/tests/test_next_workers.py b/tests/test_next_workers.py index e62ba773..6aac6194 100644 --- a/tests/test_next_workers.py +++ b/tests/test_next_workers.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for nowcast.next_workers module. -""" +"""Unit tests for nowcast.next_workers module.""" import inspect import textwrap from pathlib import Path diff --git a/tests/test_residuals.py b/tests/test_residuals.py index 8e20f43e..20e269de 100644 --- a/tests/test_residuals.py +++ b/tests/test_residuals.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast residuals module. -""" +"""Unit tests for SalishSeaCast residuals module.""" from datetime import datetime import pytest diff --git a/tests/workers/test_archive_tarball.py b/tests/workers/test_archive_tarball.py index df716150..9f8971f8 100644 --- a/tests/workers/test_archive_tarball.py +++ b/tests/workers/test_archive_tarball.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast archive_tarball worker. -""" +"""Unit tests for SalishSeaCast archive_tarball worker.""" import argparse import logging import textwrap diff --git a/tests/workers/test_collect_NeahBay_ssh.py b/tests/workers/test_collect_NeahBay_ssh.py index 8f52a59c..144d3014 100644 --- a/tests/workers/test_collect_NeahBay_ssh.py +++ b/tests/workers/test_collect_NeahBay_ssh.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast collect_NeahBay_ssh worker. -""" +"""Unit tests for SalishSeaCast collect_NeahBay_ssh worker.""" import logging import os import textwrap diff --git a/tests/workers/test_collect_river_data.py b/tests/workers/test_collect_river_data.py index f51d27e9..3101f84d 100644 --- a/tests/workers/test_collect_river_data.py +++ b/tests/workers/test_collect_river_data.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast collect_river_data worker. -""" +"""Unit tests for SalishSeaCast collect_river_data worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_collect_weather.py b/tests/workers/test_collect_weather.py index 1ff69865..d61def57 100644 --- a/tests/workers/test_collect_weather.py +++ b/tests/workers/test_collect_weather.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast collect_weather worker. -""" +"""Unit tests for SalishSeaCast collect_weather worker.""" import grp import logging import os diff --git a/tests/workers/test_crop_gribs.py b/tests/workers/test_crop_gribs.py index 367bce1b..7eaa6248 100644 --- a/tests/workers/test_crop_gribs.py +++ b/tests/workers/test_crop_gribs.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit test for SalishSeaCast crop_gribs worker. -""" +"""Unit test for SalishSeaCast crop_gribs worker.""" import grp import logging import os diff --git a/tests/workers/test_download_fvcom_results.py b/tests/workers/test_download_fvcom_results.py index 53c43570..b62796f8 100644 --- a/tests/workers/test_download_fvcom_results.py +++ b/tests/workers/test_download_fvcom_results.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast download_fvcom_results worker. -""" +"""Unit tests for SalishSeaCast download_fvcom_results worker.""" import shlex import textwrap from pathlib import Path diff --git a/tests/workers/test_download_live_ocean.py b/tests/workers/test_download_live_ocean.py index 7cf28d7f..2c623959 100644 --- a/tests/workers/test_download_live_ocean.py +++ b/tests/workers/test_download_live_ocean.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast download_live_ocean worker. -""" +"""Unit tests for SalishSeaCast download_live_ocean worker.""" import grp import logging import os diff --git a/tests/workers/test_download_results.py b/tests/workers/test_download_results.py index 78912722..e4fd266a 100644 --- a/tests/workers/test_download_results.py +++ b/tests/workers/test_download_results.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast download_results worker. -""" +"""Unit tests for SalishSeaCast download_results worker.""" import logging import shlex import textwrap diff --git a/tests/workers/test_download_weather.py b/tests/workers/test_download_weather.py index 7d501a78..e94ee80c 100644 --- a/tests/workers/test_download_weather.py +++ b/tests/workers/test_download_weather.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast download_weather worker. -""" +"""Unit tests for SalishSeaCast download_weather worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_download_wwatch3_results.py b/tests/workers/test_download_wwatch3_results.py index 63ff6f9d..0f7821de 100644 --- a/tests/workers/test_download_wwatch3_results.py +++ b/tests/workers/test_download_wwatch3_results.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast system download_wwatch3_results worker. -""" +"""Unit tests for SalishSeaCast system download_wwatch3_results worker.""" from unittest.mock import Mock, patch import arrow diff --git a/tests/workers/test_get_onc_ctd.py b/tests/workers/test_get_onc_ctd.py index b446583b..44c9504f 100644 --- a/tests/workers/test_get_onc_ctd.py +++ b/tests/workers/test_get_onc_ctd.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast get_onc_ctd worker. -""" +"""Unit tests for SalishSeaCast get_onc_ctd worker.""" import logging from types import SimpleNamespace diff --git a/tests/workers/test_get_onc_ferry.py b/tests/workers/test_get_onc_ferry.py index 72ca2bcb..c83285db 100644 --- a/tests/workers/test_get_onc_ferry.py +++ b/tests/workers/test_get_onc_ferry.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast get_onc_ferry worker. -""" +"""Unit tests for SalishSeaCast get_onc_ferry worker.""" import logging from types import SimpleNamespace diff --git a/tests/workers/test_get_vfpa_hadcp.py b/tests/workers/test_get_vfpa_hadcp.py index b95ab9fd..5f1c7d27 100644 --- a/tests/workers/test_get_vfpa_hadcp.py +++ b/tests/workers/test_get_vfpa_hadcp.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast get_vfpa_hadcp worker. -""" +"""Unit tests for SalishSeaCast get_vfpa_hadcp worker.""" import logging import os import textwrap diff --git a/tests/workers/test_grib_to_netcdf.py b/tests/workers/test_grib_to_netcdf.py index 6d3d0940..8ac96f9b 100644 --- a/tests/workers/test_grib_to_netcdf.py +++ b/tests/workers/test_grib_to_netcdf.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast grib_to_netcdf worker. -""" +"""Unit tests for SalishSeaCast grib_to_netcdf worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_launch_remote_worker.py b/tests/workers/test_launch_remote_worker.py index 3d0e5c94..848c23c4 100644 --- a/tests/workers/test_launch_remote_worker.py +++ b/tests/workers/test_launch_remote_worker.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast launch_remote_worker worker. -""" +"""Unit tests for SalishSeaCast launch_remote_worker worker.""" from types import SimpleNamespace from unittest.mock import Mock, patch diff --git a/tests/workers/test_make_CHS_currents_file.py b/tests/workers/test_make_CHS_currents_file.py index a731d0e0..27c7f740 100644 --- a/tests/workers/test_make_CHS_currents_file.py +++ b/tests/workers/test_make_CHS_currents_file.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_CHS_currents_file worker. -""" +"""Unit tests for SalishSeaCast make_CHS_currents_file worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_make_averaged_dataset.py b/tests/workers/test_make_averaged_dataset.py index 283e102b..071f25d1 100644 --- a/tests/workers/test_make_averaged_dataset.py +++ b/tests/workers/test_make_averaged_dataset.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_averaged_dataset worker. -""" +"""Unit tests for SalishSeaCast make_averaged_dataset worker.""" import logging import os import textwrap diff --git a/tests/workers/test_make_feeds.py b/tests/workers/test_make_feeds.py index d82503cb..b3f54f35 100644 --- a/tests/workers/test_make_feeds.py +++ b/tests/workers/test_make_feeds.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_feeds worker. -""" +"""Unit tests for SalishSeaCast make_feeds worker.""" import datetime import os import textwrap diff --git a/tests/workers/test_make_forcing_links.py b/tests/workers/test_make_forcing_links.py index d3a38079..4f5bba79 100644 --- a/tests/workers/test_make_forcing_links.py +++ b/tests/workers/test_make_forcing_links.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_forcing_links worker. -""" +"""Unit tests for SalishSeaCast make_forcing_links worker.""" import logging import os import textwrap diff --git a/tests/workers/test_make_fvcom_rivers_forcing.py b/tests/workers/test_make_fvcom_rivers_forcing.py index abbcbf69..86f1e1d1 100644 --- a/tests/workers/test_make_fvcom_rivers_forcing.py +++ b/tests/workers/test_make_fvcom_rivers_forcing.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_fvcom_rivers_forcing worker. -""" +"""Unit tests for SalishSeaCast make_fvcom_rivers_forcing worker.""" from pathlib import Path from types import SimpleNamespace from unittest.mock import Mock, patch diff --git a/tests/workers/test_make_live_ocean_files.py b/tests/workers/test_make_live_ocean_files.py index 9f722501..834f6f1e 100644 --- a/tests/workers/test_make_live_ocean_files.py +++ b/tests/workers/test_make_live_ocean_files.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_live_ocean_files worker. -""" +"""Unit tests for SalishSeaCast make_live_ocean_files worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_make_plots.py b/tests/workers/test_make_plots.py index 4d2bdb24..7b3f33d8 100644 --- a/tests/workers/test_make_plots.py +++ b/tests/workers/test_make_plots.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_plots worker. -""" +"""Unit tests for SalishSeaCast make_plots worker.""" import logging from pathlib import Path from types import SimpleNamespace diff --git a/tests/workers/test_make_runoff_file.py b/tests/workers/test_make_runoff_file.py index 41bfb6c3..a9fb56e7 100644 --- a/tests/workers/test_make_runoff_file.py +++ b/tests/workers/test_make_runoff_file.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_runoff_file worker. -""" +"""Unit tests for SalishSeaCast make_runoff_file worker.""" from pathlib import Path from types import SimpleNamespace from unittest.mock import Mock, patch diff --git a/tests/workers/test_make_ssh_file.py b/tests/workers/test_make_ssh_file.py index 6979b942..7fd2d877 100644 --- a/tests/workers/test_make_ssh_file.py +++ b/tests/workers/test_make_ssh_file.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_ssh_file worker. -""" +"""Unit tests for SalishSeaCast make_ssh_file worker.""" import logging import os import textwrap diff --git a/tests/workers/test_make_surface_current_tiles.py b/tests/workers/test_make_surface_current_tiles.py index e11e4902..dbc30b91 100644 --- a/tests/workers/test_make_surface_current_tiles.py +++ b/tests/workers/test_make_surface_current_tiles.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_surface_current_tiles worker. -""" +"""Unit tests for SalishSeaCast make_surface_current_tiles worker.""" import logging from pathlib import Path import textwrap diff --git a/tests/workers/test_make_turbidity_file.py b/tests/workers/test_make_turbidity_file.py index a57bfa92..76492f64 100644 --- a/tests/workers/test_make_turbidity_file.py +++ b/tests/workers/test_make_turbidity_file.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast make_turbidity_file worker. -""" +"""Unit tests for SalishSeaCast make_turbidity_file worker.""" from types import SimpleNamespace from unittest.mock import Mock, patch diff --git a/tests/workers/test_make_v202111_runoff_file.py b/tests/workers/test_make_v202111_runoff_file.py index 7f2a85fd..112a2312 100644 --- a/tests/workers/test_make_v202111_runoff_file.py +++ b/tests/workers/test_make_v202111_runoff_file.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit test for SalishSeaCast make_v202111_runoff_file worker. -""" +"""Unit test for SalishSeaCast make_v202111_runoff_file worker.""" import logging import os import textwrap diff --git a/tests/workers/test_ping_erddap.py b/tests/workers/test_ping_erddap.py index 3def163e..1ad57566 100644 --- a/tests/workers/test_ping_erddap.py +++ b/tests/workers/test_ping_erddap.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast ping_erddap worker. -""" +"""Unit tests for SalishSeaCast ping_erddap worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_rotate_hindcast_logs.py b/tests/workers/test_rotate_hindcast_logs.py index 4ab15d5f..32eaa027 100644 --- a/tests/workers/test_rotate_hindcast_logs.py +++ b/tests/workers/test_rotate_hindcast_logs.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast rotate_hindcast_logs worker. -""" +"""Unit tests for SalishSeaCast rotate_hindcast_logs worker.""" import logging import logging.config import textwrap diff --git a/tests/workers/test_run_NEMO.py b/tests/workers/test_run_NEMO.py index 8c84a56c..e0f5f159 100644 --- a/tests/workers/test_run_NEMO.py +++ b/tests/workers/test_run_NEMO.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast run_NEMO worker. -""" +"""Unit tests for SalishSeaCast run_NEMO worker.""" import subprocess import textwrap from pathlib import Path diff --git a/tests/workers/test_run_NEMO_agrif.py b/tests/workers/test_run_NEMO_agrif.py index e3efc754..85b80200 100644 --- a/tests/workers/test_run_NEMO_agrif.py +++ b/tests/workers/test_run_NEMO_agrif.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast run_NEMO_agrif worker. -""" +"""Unit tests for SalishSeaCast run_NEMO_agrif worker.""" import textwrap from pathlib import Path from types import SimpleNamespace diff --git a/tests/workers/test_run_NEMO_hindcast.py b/tests/workers/test_run_NEMO_hindcast.py index 23446f10..4ffa93da 100644 --- a/tests/workers/test_run_NEMO_hindcast.py +++ b/tests/workers/test_run_NEMO_hindcast.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast run_NEMO_hindcast worker. -""" +"""Unit tests for SalishSeaCast run_NEMO_hindcast worker.""" import textwrap from pathlib import Path from types import SimpleNamespace diff --git a/tests/workers/test_run_fvcom.py b/tests/workers/test_run_fvcom.py index dd5db1db..a86c8a47 100644 --- a/tests/workers/test_run_fvcom.py +++ b/tests/workers/test_run_fvcom.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for Vancouver Harbour & Fraser River FVCOM run_fvcom worker. -""" +"""Unit tests for Vancouver Harbour & Fraser River FVCOM run_fvcom worker.""" import os import subprocess import textwrap diff --git a/tests/workers/test_run_ww3.py b/tests/workers/test_run_ww3.py index 6c47315e..2bb6ab91 100644 --- a/tests/workers/test_run_ww3.py +++ b/tests/workers/test_run_ww3.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for Salish Sea WaveWatch3 nowcast/forecast run_ww3 worker. -""" +"""Unit tests for Salish Sea WaveWatch3 nowcast/forecast run_ww3 worker.""" import logging import os import stat diff --git a/tests/workers/test_split_results.py b/tests/workers/test_split_results.py index e233ee64..de37089f 100644 --- a/tests/workers/test_split_results.py +++ b/tests/workers/test_split_results.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast split_results worker. -""" +"""Unit tests for SalishSeaCast split_results worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_update_forecast_datasets.py b/tests/workers/test_update_forecast_datasets.py index 6518e0a7..5a2229c5 100644 --- a/tests/workers/test_update_forecast_datasets.py +++ b/tests/workers/test_update_forecast_datasets.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast update_forecast_datasets worker. -""" +"""Unit tests for SalishSeaCast update_forecast_datasets worker.""" import logging import shlex import textwrap diff --git a/tests/workers/test_upload_forcing.py b/tests/workers/test_upload_forcing.py index 969b8007..b122c0d5 100644 --- a/tests/workers/test_upload_forcing.py +++ b/tests/workers/test_upload_forcing.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast upload_forcing worker. -""" +"""Unit tests for SalishSeaCast upload_forcing worker.""" import logging import textwrap from pathlib import Path diff --git a/tests/workers/test_watch_NEMO.py b/tests/workers/test_watch_NEMO.py index 5b31ba6f..a006b4ea 100644 --- a/tests/workers/test_watch_NEMO.py +++ b/tests/workers/test_watch_NEMO.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast watch_NEMO worker. -""" +"""Unit tests for SalishSeaCast watch_NEMO worker.""" import subprocess import textwrap from pathlib import Path diff --git a/tests/workers/test_watch_NEMO_agrif.py b/tests/workers/test_watch_NEMO_agrif.py index 403c725f..4c5848ff 100644 --- a/tests/workers/test_watch_NEMO_agrif.py +++ b/tests/workers/test_watch_NEMO_agrif.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast watch_NEMO_agrif worker. -""" +"""Unit tests for SalishSeaCast watch_NEMO_agrif worker.""" import textwrap from pathlib import Path from types import SimpleNamespace diff --git a/tests/workers/test_watch_NEMO_hindcast.py b/tests/workers/test_watch_NEMO_hindcast.py index 10f4d5c3..62aadd88 100644 --- a/tests/workers/test_watch_NEMO_hindcast.py +++ b/tests/workers/test_watch_NEMO_hindcast.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast watch_NEMO_hindcast worker. -""" +"""Unit tests for SalishSeaCast watch_NEMO_hindcast worker.""" import textwrap from pathlib import Path from types import SimpleNamespace diff --git a/tests/workers/test_watch_fvcom.py b/tests/workers/test_watch_fvcom.py index bca7c1be..af9ac57a 100644 --- a/tests/workers/test_watch_fvcom.py +++ b/tests/workers/test_watch_fvcom.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for SalishSeaCast watch_fvcom worker. -""" +"""Unit tests for SalishSeaCast watch_fvcom worker.""" import subprocess from types import SimpleNamespace from unittest.mock import call, Mock, patch diff --git a/tests/workers/test_watch_ww3.py b/tests/workers/test_watch_ww3.py index 8400de9c..65b9531d 100644 --- a/tests/workers/test_watch_ww3.py +++ b/tests/workers/test_watch_ww3.py @@ -16,8 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 -"""Unit tests for Salish Sea nowcast watch_ww3 worker. -""" +"""Unit tests for Salish Sea nowcast watch_ww3 worker.""" import logging from types import SimpleNamespace