jorenham/scipy-stubs

enable `reportDeprecated` in `typetests/`

Closed this issue · 0 comments

This requires configuring separate executionEnvironments under [tool.pyright].
See https://docs.basedpyright.com/latest/configuration/config-files/#sample-config-file for an example of this.

Without this check, it's impossible to type-test the @deprecated functions and classes.