From 97f6d11cef8232ac6406331a7ce190e7b1f3cf3f Mon Sep 17 00:00:00 2001 From: Collin Baker Date: Mon, 27 Feb 2023 21:31:43 +0000 Subject: [PATCH] Set presubmit line length check to 100 for Rust Rust style dictates 100 columns instead of 80. Update presubmit check accordingly. Bug: chromium:1292073 Change-Id: I4f0c0cc3b84ebb4559f29a6500ffd843febc8f93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4295201 Auto-Submit: Collin Baker Commit-Queue: Bruce Dawson Reviewed-by: Bruce Dawson --- presubmit_canned_checks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index dc90c7e48..a652f1832 100644 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -520,6 +520,7 @@ def CheckLongLines(input_api, output_api, maxlen, source_file_filter=None): 'java': 100, # This is specifically for Android's handwritten makefiles (Android.mk). 'mk': 200, + 'rs': 100, '': maxlen, }