stubtest
does not respect the allowlist when re-exporting
#815
Labels
stubtest
does not respect the allowlist when re-exporting
#815
Describe the problem
While stubtesting
scipy-stubs
while working on a new feature, I got served with the following errors:The source of these "issues" originate only from
.special._ufuncs
.But because these are re-exported in several places, stubtest also reports them there.
The above example is the result of the changes in 4 lines of code, but there are 317 in total 😅
I tried suppressing these errors through the following allowlist entry:
This indeed reduces the amount of reported errors, but
stubtest
still complains about the re-exports, so that's why I consider this a bug.I am now left with two options:
scipy.special
package in the allowlist. But this would hide all other errors, including the ones that shouldn't be ignored.#stublife
Gist to reproduce
No response
Severity
annoying but workaround is available
Your Environment
The text was updated successfully, but these errors were encountered: