Closed qstokkink closed 1 month ago
Now that I look at it, I think this is because we don't install the Tribler dependencies in the type-checking run.
Installing the requirements was indeed necessary to uncover these hidden errors. I'll fix them in the PR that exposes them.
On our PR tester, we use
mypy-1.11.2-cp39
and the type checks pass. However, when I runmypy-1.11.2-cp310
I see typing errors:For some reason, our PR checks also scan 98 files instead of the 93 I get locally (
Success: no issues found in 98 source files
).