Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #92

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
- id: no-commit-to-branch

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.2.0
hooks:
- id: black
pass_filenames: false
Expand Down
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