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 <[email protected]> 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 -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/code-quality.python.org/ > Member address: [email protected] >
_______________________________________________ code-quality mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: [email protected]
