Skip to content

Add py.typed file to publish type annotations for nidaqmx-python repo and bump to 1.0.0a4 - #37

Merged
pkthong merged 2 commits into
mainfrom
users/adubois/addPyTyped
Sep 10, 2026
Merged

Add py.typed file to publish type annotations for nidaqmx-python repo and bump to 1.0.0a4#37
pkthong merged 2 commits into
mainfrom
users/adubois/addPyTyped

Conversation

@alexdubois-ni

@alexdubois-ni alexdubois-ni commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

Create a py.typed file that allows for publishing nitlsconfig-python's type annotations and checking them with mypy in other repos

Bump to 1.0.0a4 as well.

Why should this Pull Request be merged?

Without this, nidaqmx-python fails the mypy checks. nimi-python did not see this because it does not use mypy.

Apparently, this empty file acts as a way to publish the type annotations.

What testing has been done?

Installed the wheel and re-used mypy afterwards on nidaqmx-python and no errors occur.

@ni-github-admins

ni-github-admins commented Sep 10, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@alexdubois-ni
alexdubois-ni requested a balanced review from Copilot September 10, 2026 16:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@alexdubois-ni alexdubois-ni changed the title Add py.typed file to publish type annotations for nidaqmx-python repo Add py.typed file to publish type annotations for nidaqmx-python repo and bump to 1.0.0a4 Sep 10, 2026
@pkthong
pkthong merged commit f713724 into main Sep 10, 2026
32 checks passed
@pkthong
pkthong deleted the users/adubois/addPyTyped branch September 10, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants