Skip to content

Commit

Permalink
Change import of Callable for typing (#523)
Browse files Browse the repository at this point in the history
rly authored Oct 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5a0141a commit 007a4bd
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nwbinspector/_configuration.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""Primary functions for inspecting NWBFiles."""

import json
from collections.abc import Callable
from pathlib import Path
from types import FunctionType
from typing import Optional, Union

import jsonschema
import yaml
from typing_extensions import Callable

from ._registration import Importance, available_checks

2 changes: 1 addition & 1 deletion src/nwbinspector/_registration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Primary decorator used on a check function to add it to the registry and automatically parse its output."""

from collections.abc import Callable
from functools import wraps
from typing import List, Optional, Union

@@ -8,7 +9,6 @@
from pynwb import NWBFile
from pynwb.ecephys import Device, ElectrodeGroup
from pynwb.file import Subject
from typing_extensions import Callable

from ._types import Importance, InspectorMessage, Severity

0 comments on commit 007a4bd

Please sign in to comment.