diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-10-18 16:50:45 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-11-05 03:50:12 +0200 |
commit | 7ff6fd9774e5697eebddc28170d8cb36b1ad4c37 (patch) | |
tree | 210260e59b7a26c997d62e361bd0de57a38c6dbe /test/py/unittests.py | |
parent | 57224387540e008c7f0d440890cce22154c95c5e (diff) |
utils: checkstyle.py: Centralize dependency handling for checkers
The checkstyle.py script depends on external tools. Those dependencies
are handled in different ways in different parts of the code. Centralize
the management of checker-specific dependencies to simplify the checkers
and output more consistent error messages.
This fixes a crash in the Pep8Formatter class when the autopep8
dependency is not found.
Fixes: 8ffaf376bb53 ("utils: checkstyle: Add a python formatter")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/py/unittests.py')
0 files changed, 0 insertions, 0 deletions