nidaqmx-python icon indicating copy to clipboard operation
nidaqmx-python copied to clipboard

Support type annotations

Open bkeryan opened this issue 2 years ago • 0 comments

Python 3 supports optional type annotations using the typing module.

Benefits of specifying type annotations:

  • Clients can use external tools like mypy to perform static type-checking.
  • Editors such as Visual Studio Code use type annotations to provide auto-complete suggestions.

nidaqmx-python already documents types in docstrings, so the information is already there. It would only need to be output in a different format.

bkeryan avatar Feb 16 '23 20:02 bkeryan