This seems to be a new warning added in the newly released flake8: https://github.com/PyCQA/pyflakes/pull/825.