Dragon2fly/logger_tt

Stub file not found for logger_tt

Closed this issue · 2 comments

Thanks a lot for this software. When importing logger_tt Pylance in VSCode complains that "Stub file not found for "logger_tt" Pylance(reportMissingTypeStubs)". I noticed that you added a stub file to the repo here (thanks for the effort too) but when when I look under ...\Lib\site-packages\logger_tt in my local install (which was via pip) the stub file is not present. When I manually copied the stub file to <my-personal-python-project-root-dir>\typings\logger_tt\ the file is detected and type hinting works as intended.

I suspect that when logger_tt is packaged the stub file is not being included for some reason in the package files. I'm also using version 1.7.0 and python 3.10.

Thank you for your finding. The stub file will be included in the next release.

Thanks!