From 631659d57ceb2f118ee410afcf79208009f3be83 Mon Sep 17 00:00:00 2001 From: Zach Johnson Date: Sun, 17 May 2020 16:12:36 -0700 Subject: [PATCH] Extend line length of python files to 120 chars, to match C++ This will reduce the number of odd line breaks. Bug: 156858180 Test: none (need to fix the linter to accept this for non-code) Tag: #gd-refactor Change-Id: Ibfd8282a7f41faf29665bba25c2c375420b693fa --- .style.yapf | 1 + system/gd/docs/architecture/style_guide.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.style.yapf b/.style.yapf index 3c8af88e157..2b11922309e 100644 --- a/.style.yapf +++ b/.style.yapf @@ -2,3 +2,4 @@ # http://google.github.io/styleguide/pyguide.html based_on_style: google indent_width: 4 +column_limit: 120 diff --git a/system/gd/docs/architecture/style_guide.md b/system/gd/docs/architecture/style_guide.md index 031c7f71ee6..efb7c110fa2 100644 --- a/system/gd/docs/architecture/style_guide.md +++ b/system/gd/docs/architecture/style_guide.md @@ -33,6 +33,7 @@ with the following modifications as shown in the ```yapf based_on_style: google indent_width: 4 +column_limit: 120 ``` ## Build files