On Mon, Dec 26, 2016 at 8:05 AM, Sven Brauch <m...@svenbrauch.de> wrote: > Hi, > > I'm trying to use pycodestyle from a custom script. Importing the > "Checker" class and passing some lines to check works, but how can I > specify which errors to select or ignore? The API docs [1] are a bit > lacking.
Hey Sven, The Checker class isn't really best suited to this use-case. You really want to be using the StyleGuide object. Also you probably want to look at the rendered documentation [0] Cheers, Ian [0]: http://pycodestyle.pycqa.org/en/latest/api.html _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality