Skip to content

Commit 17bd5fe

Browse files
committed
ignore reportPrivateImportUsage
1 parent 69275a3 commit 17bd5fe

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pydantic_evals/pydantic_evals/_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ async def _run_task(tsk: Callable[[], Awaitable[T]], index: int) -> None:
111111

112112

113113
try:
114-
from logfire._internal.config import LogfireNotConfiguredWarning # pyright: ignore[reportAssignmentType]
114+
from logfire._internal.config import (
115+
LogfireNotConfiguredWarning, # pyright: ignore[reportAssignmentType,reportPrivateImportUsage]
116+
)
115117
except ImportError:
116118

117119
class LogfireNotConfiguredWarning(UserWarning):

pydantic_graph/pydantic_graph/_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ async def run_in_executor(func: Callable[_P, _R], *args: _P.args, **kwargs: _P.k
142142

143143

144144
try:
145-
from logfire._internal.config import LogfireNotConfiguredWarning # pyright: ignore[reportAssignmentType]
145+
from logfire._internal.config import (
146+
LogfireNotConfiguredWarning, # pyright: ignore[reportAssignmentType,reportPrivateImportUsage]
147+
)
146148
except ImportError:
147149

148150
class LogfireNotConfiguredWarning(UserWarning):

0 commit comments

Comments
 (0)