Skip to content

Commit

Permalink
Merge pull request #127 from ioos/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ocefpaf committed Sep 3, 2024
2 parents 3963902 + 6a8daee commit 1b022ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]
Expand Down
8 changes: 4 additions & 4 deletions tests/test_fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
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()
g.fetcher.dataset_id = "whoi_406-20160902T1700"
return g, g.to_pandas()


@pytest.mark.vcr()
@pytest.mark.vcr
def test_variables(glider_grab):
"""Check if expected variables are being fetched."""
expected = [
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
root = Path(__file__).parent


@pytest.fixture()
@pytest.fixture
def glider_data():
"""Fixture to load whoi_406-20160902T1700."""
glider_grab = GliderDataFetcher()
Expand Down

0 comments on commit 1b022ca

Please sign in to comment.