blob: 74ff4b884de245562a50a4fb282f5ba3717e4da5 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001#!/bin/bash
2#
3# Run the pylint3 against our common python module spaces and print a report of potential issues
4#
5this_dir=$(dirname $(readlink -f $0))
6ERRORS="-E"
7IGNORELIST="$ERRORS -d logging-too-many-args -d missing-docstring -d line-too-long -d invalid-name"
8PYTHONPATH=$this_dir/../bitbake/lib/ pylint3 $IGNORELIST bb
9PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib pylint3 $IGNORELIST -d undefined-variable oe
10PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib pylint3 $IGNORELIST oeqa
11PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib:$this_dir/lib pylint3 $IGNORELIST -d undefined-variable argparse_oe buildstats devtool recipetool scriptpath testcasemgmt build_perf checklayer resulttool scriptutils wic