Makefile: Add a pylint checker to the build

At present the Python code in U-Boot is somewhat inconsistent, with some
files passing pylint quite cleanly and others not.

Add a way to track progress on this clean-up, by checking that no module
has got any worse as a result of changes.

This can be used with 'make pylint'.

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Re-generate pylint.base]
This commit is contained in:
Simon Glass
2021-11-21 20:48:40 -07:00
committed by Tom Rini
parent c761cf778f
commit feafc61ea6
5 changed files with 351 additions and 1 deletions

4
.gitignore vendored
View File

@@ -98,3 +98,7 @@ __pycache__
# Python code coverage output (python3-coverage html)
/htmlcov/
# pylint files
/pylint.cur
/pylint.out/