FWIW you could just not assign the result to a variable and flake8 won't complain.