[OE-core] [PATCH] scripts: Add oe-pylint

Richard Purdie richard.purdie at linuxfoundation.org
Wed Mar 6 18:44:19 UTC 2019


On Wed, 2019-03-06 at 18:41 +0000, Richard Purdie wrote:
> Add an oe-pylint wrapper around pylint3 to run static analysis on our
> python
> codebase. For now display errors and exclude common warnings which
> are not
> applicable to our codebase.
> 
> The aim is to start generating this report on the autobuilder and to
> improve our score over time.
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

The output of this is saved off as part of the autobuilder test result
output, e.g.:

https://autobuilder.yocto.io/pub/non-release/20190306-14/testresults/oe-selftest/pylint.log

If anyone has some time and wants to help out cleaning things up to get
better results, this would be a great and comparatively low learning
curve way to get started with helping with the project!

Right now we save errors only, ultimately we may be able to clean up
warnings too.

Cheers,

Richard



More information about the Openembedded-core mailing list