forked from AMDESE/OpenBMC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoe-pylint
More file actions
executable file
·13 lines (13 loc) · 785 Bytes
/
Copy pathoe-pylint
File metadata and controls
executable file
·13 lines (13 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Run the pylint3 against our common python module spaces and print a report of potential issues
#
this_dir=$(dirname $(readlink -f $0))
ERRORS="-E"
IGNORELIST="$ERRORS -d logging-too-many-args -d missing-docstring -d line-too-long -d invalid-name"
PYTHONPATH=$this_dir/../bitbake/lib/ pylint3 $IGNORELIST bb
PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib pylint3 $IGNORELIST -d undefined-variable oe
PYTHONPATH=$this_dir/../bitbake/lib/:$this_dir/../meta/lib pylint3 $IGNORELIST oeqa
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