You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, we were previously running mypy separately for the nidaqmx package and its tests. Combining these runs revealed that mypy doesn't honor the setter's type hint:
tests\component\task\test_in_stream_read_properties.py:139: error: Incompatible types in assignment (expression has type "str", variable has type "Optional[Path]") [assignment]
tests\component\task\test_in_stream_read_properties.py:159: error: Incompatible types in assignment (expression has type "str", variable has type "Optional[Path]") [assignment]
The text was updated successfully, but these errors were encountered:
logging_file_path currently has the following type hints, because we wanted to allow setting it using either a
pathlib.Path
or astr
:However, we were previously running mypy separately for the
nidaqmx
package and its tests. Combining these runs revealed that mypy doesn't honor the setter's type hint:The text was updated successfully, but these errors were encountered: