pylint cannot import correctly flask extension apparently