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 Aug 31, 2024
1 parent 2450d60 commit ed54c63
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 0 additions & 2 deletions src/nwbinspector/_nwb_inspection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Primary functions for inspecting NWBFiles."""

import re
import importlib
import traceback
from pathlib import Path
Expand All @@ -16,7 +15,6 @@

from . import available_checks, configure_checks
from ._registration import InspectorMessage, Importance
from .tools import get_s3_urls_and_dandi_paths
from .utils import (
FilePathType,
PathType,
Expand Down
4 changes: 1 addition & 3 deletions src/nwbinspector/_nwbinspector_cli.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
"""Primary functions for inspecting NWBFiles."""

import os
import re
import json
import warnings
import importlib
from pathlib import Path
from typing import Union, Literal
from typing import Union

import click

Expand Down
7 changes: 0 additions & 7 deletions tests/read_nwbfile_streaming_tests.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
"""All tests that specifically require streaming to be enabled (i.e., ROS3 version of h5py, fsspec, etc.)."""

import os
import pytest
from shutil import rmtree
from tempfile import mkdtemp
from pathlib import Path
from unittest import TestCase

from nwbinspector import Importance, inspect_all, InspectorMessage, inspect_dandiset
from nwbinspector.tools import read_nwbfile
from nwbinspector.testing import check_streaming_tests_enabled, check_hdf5_io_open
from nwbinspector.utils import FilePathType


STREAMING_TESTS_ENABLED, DISABLED_STREAMING_TESTS_REASON = check_streaming_tests_enabled()
Expand Down
5 changes: 2 additions & 3 deletions tests/streaming_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
from pathlib import Path
from unittest import TestCase

from nwbinspector import Importance, inspect_all, InspectorMessage, inspect_dandiset
from nwbinspector.tools import read_nwbfile
from nwbinspector.testing import check_streaming_tests_enabled, check_hdf5_io_open
from nwbinspector import Importance, InspectorMessage, inspect_dandiset
from nwbinspector.testing import check_streaming_tests_enabled
from nwbinspector.utils import FilePathType


Expand Down

0 comments on commit ed54c63

Please sign in to comment.