]>
Commit | Line | Data |
---|---|---|
0a306d4f RP |
1 | #!/bin/bash |
2 | # | |
deb3ccec RP |
3 | # Copyright OpenEmbedded Contributors |
4 | # | |
f8c9c511 RP |
5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | # | |
0a306d4f RP |
7 | # Run the pylint3 against our common python module spaces and print a report of potential issues |
8 | # | |
9 | this_dir=$(dirname $(readlink -f $0)) | |
10 | ERRORS="-E" | |
11 | IGNORELIST="$ERRORS -d logging-too-many-args -d missing-docstring -d line-too-long -d invalid-name" | |
12 | PYTHONPATH=$this_dir/../bitbake/lib/ pylint3 $IGNORELIST bb | |
13 | PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib pylint3 $IGNORELIST -d undefined-variable oe | |
14 | PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib pylint3 $IGNORELIST oeqa | |
15 | PYTHONPATH=$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 |