In order to develop any project, automated testing is essential. I reckon the type stubs can be tested by creating a directory with example files, and by testing the output of mypy after running mypy on those files. We can then ensure that certain symbols are stubbed, that certain types are inferred, etc.
In order to develop any project, automated testing is essential. I reckon the type stubs can be tested by creating a directory with example files, and by testing the output of
mypy
after runningmypy
on those files. We can then ensure that certain symbols are stubbed, that certain types are inferred, etc.