Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 43cbe89 commit d96107e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/ugrid_checks/_var_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
For now instead, we fetch the *whole* variable data on demand.
"""

from typing import Callable, Union

import netCDF4 as nc
Expand Down
1 change: 1 addition & 0 deletions lib/ugrid_checks/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
TODO: definitely a good idea to convert all this to PyTest.
"""

import copy
from pathlib import Path
from subprocess import check_call
Expand Down
1 change: 1 addition & 0 deletions lib/ugrid_checks/tests/check/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Some common test fixtures for checker testing.
"""

from pytest import fixture

from .. import cdl_scanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Tests for :meth:`ugrid_checks.check.Checker.checking_report()`.
"""

import re

from pytest import fixture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Tests for :meth:`ugrid_checks.check.Checker.structure_report()`.
"""

import re

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions lib/ugrid_checks/tests/check/test_check_dataset__api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:mod:tests.check.test_check_dataset__checks
"""

import re

from . import simple_incorrect_scan_and_codes, simple_scan
Expand Down
1 change: 1 addition & 0 deletions lib/ugrid_checks/tests/check/test_check_dataset__checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Tests for ugrid_checks.check.check_dataset
"""

import logging
import re

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Tests for ugrid_checks.nc_scan_dataset.scan_dataset
"""

import numpy as np
from numpy import asanyarray as nparray
from pytest import fixture
Expand Down
1 change: 1 addition & 0 deletions lib/ugrid_checks/ugrid_logger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Slightly crude, but ugrid-check-specific logging."""

import logging
from typing import List, Union

Expand Down

0 comments on commit d96107e

Please sign in to comment.