I'd recommend adding "# flake8: noqa` to that specific line, since the unimported function call is a useful check. (It has prevented my accidentally omitting an import or having a typo in the function call at least a few times.)