diff options
| author | Tom Rini <[email protected]> | 2022-03-02 10:38:00 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-03-02 10:38:00 -0500 |
| commit | f861ffa660dc47c4017c220b94d10a64439d46a7 (patch) | |
| tree | 7ba56091d7713bf04e940afa9a2f8adcaeeb2a16 /doc/develop | |
| parent | f9a719e2954473f9be1f8c14a28288f943a00dd2 (diff) | |
| parent | 642e51addf918e0dd1b901efaa9f5706c12365b7 (diff) | |
Merge branch '2022-03-02-enable-pylint-in-CI' into next
To quote the author:
This series adds a new errors-only pylint check and adds it to the CI
systems.
It also fixes the current errors in the U-Boot Python code, disabling
errors where it seems necessary.
A small patch to buildman allows it to build sandbox without any changes
to the default config file
Diffstat (limited to 'doc/develop')
| -rw-r--r-- | doc/develop/python_cq.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/develop/python_cq.rst b/doc/develop/python_cq.rst index 3f99f1d9c0b..1e209ff197d 100644 --- a/doc/develop/python_cq.rst +++ b/doc/develop/python_cq.rst @@ -77,4 +77,15 @@ If the pylint version is updated in CI, this may result in needing to regenerate `scripts/pylint.base`. +Checking for errors +------------------- + +If you only want to check for pylint errors, use:: + + PYTHONPATH=/path/to/scripts/dtc/pylibfdt/ make pylint_err + +This will show only pylint errors. Note that you must set PYTHONPATH to point +to the pylibfdt directory build by U-Boot (typically the sandbox_spl board). If +you have used `make qcheck` then it sill be in `board-sandbox_spl`. + .. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/ |
