Correct. That doesn't work. It's not presently designed to be used that
way. I believe there's some work planned to enable that but in my opinion
it's quite the anti-pattern. Users doing that often shoot themselves in the
foot and things break between versions.

Sent from my phone with my typo-happy thumbs. Please excuse my brevity

On Mon, Jun 6, 2022, 15:04 <c.bu...@posteo.jp> wrote:

> 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.
> _______________________________________________
> code-quality mailing list -- code-quality@python.org
> To unsubscribe send an email to code-quality-le...@python.org
> https://mail.python.org/mailman3/lists/code-quality.python.org/
> Member address: graffatcolmin...@gmail.com
>
_______________________________________________
code-quality mailing list -- code-quality@python.org
To unsubscribe send an email to code-quality-le...@python.org
https://mail.python.org/mailman3/lists/code-quality.python.org/
Member address: arch...@mail-archive.com

Reply via email to