diff --git a/gliderpy/fetchers.py b/gliderpy/fetchers.py index 560b806..27fd430 100644 --- a/gliderpy/fetchers.py +++ b/gliderpy/fetchers.py @@ -176,7 +176,7 @@ def query( # noqa: PLR0913 info_urls = [ self.fetcher.get_info_url( dataset_id=dataset_id, - response="html", + response="html", ) for dataset_id in datasets["Dataset ID"] ] diff --git a/gliderpy/plotters.py b/gliderpy/plotters.py index 0b642cd..961942a 100644 --- a/gliderpy/plotters.py +++ b/gliderpy/plotters.py @@ -20,6 +20,7 @@ if TYPE_CHECKING: import pandas as pd + def plot_track(df: pd.DataFrame) -> tuple(plt.Figure, plt.Axes): """Plot a track of glider path coloured by temperature. @@ -41,7 +42,8 @@ def plot_track(df: pd.DataFrame) -> tuple(plt.Figure, plt.Axes): def plot_transect( df: pd.DataFrame, - var: str, **kw: dict, + var: str, + **kw: dict, ) -> tuple(plt.Figure, plt.Axes): """Make a scatter plot of depth vs time coloured by a user defined variable. diff --git a/tests/test_fetchers.py b/tests/test_fetchers.py index 5f65101..b820ab7 100644 --- a/tests/test_fetchers.py +++ b/tests/test_fetchers.py @@ -1,6 +1,5 @@ """Test Fetchers.""" - import pytest from gliderpy.fetchers import GliderDataFetcher @@ -10,7 +9,7 @@ @pytest.fixture() @pytest.mark.web() def glider_grab(): - """"Create the basic query object for testing.""" + """Create the basic query object for testing.""" g = GliderDataFetcher() g.dataset_id = "whoi_406-20160902T1700" return g