I want to invoke/use flake8 in my own python script and check the
returning results.
I do something like this with pycodestyle which I use as a unittest. I
would like to do this with flake8, too. On the list I found a posting
from 2015 about using flake8.main.main(). But it doesn't exist anymore.