sphinx icon indicating copy to clipboard operation
sphinx copied to clipboard

[WIP] run mypy on tests/ directory

Open danieleades opened this issue 1 year ago • 1 comments

mypy is currently not run on the tests directory.

This PR addresses that.

There's a massive number of errors- too many to introduce in one PR. Hence I'm whitelisting the existing issues to be incrementally improved.

danieleades avatar Feb 26 '24 09:02 danieleades

Actually, I didn't want to be run on tests/ for now. I just wanted to have the --follow-imports=normal so let's do this first I think. Also, there are many mistakes that I found when modernizing the test suite (because we don't use mypy there, PyCharm was helpful and I could see that some tests were not correctly written sometimes!)

picnixz avatar Feb 26 '24 11:02 picnixz