diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-07-08 10:59:13 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-13 15:53:55 +0000 |
commit | 36581192c7529332bea5663bed93dfae33f70666 (patch) | |
tree | 5551720c4b8a2849f6b1a60992508e0576322189 /PRESUBMIT.cfg | |
parent | c8282f61e105490ed50120ec2d6a83a1e2ec1e08 (diff) | |
download | chrome-ec-36581192c7529332bea5663bed93dfae33f70666.tar.gz |
ec: Enforce black in presubmit
Enforce black, isort formatting in presubmit for all python
files.
Do not enforce flake8, because it has errors on most of the files, and
it seems to be basically the same as pylint, which is already run on
pre-submit.
Do not enforce it in the zmake unit test script.
Do enforce the formatting in the firmware_builder.py script, and do it
early for faster failures in CQ runs.
BRANCH=None
BUG=b:238434058
TEST=None
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: If3c42b2af41fd2e68accbe2867999dc931e88872
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3749243
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
-rw-r--r-- | PRESUBMIT.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg index 531a74fad9..c9d0887b23 100644 --- a/PRESUBMIT.cfg +++ b/PRESUBMIT.cfg @@ -29,5 +29,5 @@ presubmit_check = util/presubmit_check.sh config_option_check = util/config_option_check.py host_command_check = util/host_command_check.sh ec_commands_h = util/linux_ec_commands_h_check.sh -zmake_preupload = zephyr/zmake/pre-upload.sh ${PRESUBMIT_FILES} +python_preupload = util/python-pre-upload.sh ${PRESUBMIT_FILES} migrated_files = util/migrated_files.sh ${PRESUBMIT_FILES} |