diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5789ab3..905ebb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: files: requirements-dev.txt - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy exclude: docs/source/conf.py @@ -50,7 +50,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.6.3 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/tests/test_fetchers.py b/tests/test_fetchers.py index 5eb47fe..f793c25 100644 --- a/tests/test_fetchers.py +++ b/tests/test_fetchers.py @@ -6,8 +6,8 @@ from gliderpy.servers import server_parameter_rename -@pytest.fixture() -@pytest.mark.web() +@pytest.fixture +@pytest.mark.web def glider_grab(): """Create the basic query object for testing.""" g = GliderDataFetcher() @@ -15,7 +15,7 @@ def glider_grab(): return g, g.to_pandas() -@pytest.mark.vcr() +@pytest.mark.vcr def test_variables(glider_grab): """Check if expected variables are being fetched.""" expected = [ @@ -31,7 +31,7 @@ def test_variables(glider_grab): assert sorted(g.fetcher.variables) == sorted(expected) -@pytest.mark.vcr() +@pytest.mark.vcr def test_standardise_variables(glider_grab): """Check if IOOS variables are properly renamed.""" g, df = glider_grab diff --git a/tests/test_plotting.py b/tests/test_plotting.py index 2eb1af7..faac256 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -16,7 +16,7 @@ root = Path(__file__).parent -@pytest.fixture() +@pytest.fixture def glider_data(): """Fixture to load whoi_406-20160902T1700.""" glider_grab = GliderDataFetcher()