Closed vinicius507 closed 1 month ago
Pyright bundles stubs from the community-maintained typeshed project. If you think there's a bug in these stubs, please file a bug report or PR in that project.
Awesome. Thanks @erictraut. You may close the issue if need be.
Describe the bug
Pyright throws misleading diagnostics on the ExitRead library due to pyright internal stubs of the library being incorrect.
Code or Screenshots
The
process_file
function has the following signature:While the stubs have the following signature:
Environment
Linux desktop 6.6.37 #1-NixOS SMP PREEMPT_DYNAMIC Fri Jul 5 07:34:07 UTC 2024 x86_64 GNU/Linux