Skip to content
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
66 changes: 48 additions & 18 deletions packages/generator/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
from pathlib import Path
from types import TracebackType
from typing import (
TYPE_CHECKING,
Any,
Callable,
Literal,
TYPE_CHECKING,
TypeVar,
Union,
)
Expand All @@ -34,9 +34,7 @@
SessionManagementClient,
SingleSessionReservation,
)
from ni_grpc_extensions.channelpool import ( # re-export
GrpcChannelPool as GrpcChannelPool,
)
from ni_grpc_extensions.channelpool import GrpcChannelPool # re-export
Copy link
Copy Markdown
Collaborator

@bkeryan bkeryan Jun 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @dixonjoel @mshafer-NI This is a regression. Mypy with --no-implicit-reexport interprets from X import Y as Y as an explicit re-export: https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Admittedly, when we chose to adopt flake8-tidy-imports, we didn't catch that it flags as imports in our testing because ni-python-styleguide (and a lot of our other modules) avoided doing this already...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So is there any action needed here? Or do we just eliminate the 'as blah' to fix any errors this flags?


from ni_measurement_plugin_sdk_service import _datatypeinfo
from ni_measurement_plugin_sdk_service._annotations import (
Expand Down
72 changes: 51 additions & 21 deletions packages/service/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading