STY: isort tests/scalar, tests/tslibs, import libwindow instead of _window
Ignore flake8 code "S001: found modulo formatter" which incorrectly picks up _all_ `%` characters, i.e. gives false-positives on actual mod ops.