Enable Python auto-formatting on common directories
This enables the auto-formatter for directories that were found to have a good number of python files in them. Bug: 846432 Change-Id: I09d5d17aeba771e9ec060224abd26df035031832 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988757 Auto-Submit: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#728972} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 4984c1cdf677d81c5e9af932898fd7b1edaff4b0
This commit is contained in:
Родитель
2ad31c534a
Коммит
c30fecd262
|
@ -0,0 +1,6 @@
|
|||
[style]
|
||||
based_on_style = pep8
|
||||
|
||||
# New directories should use a .style.yapf that does not include the following:
|
||||
column_limit = 80
|
||||
indent_width = 2
|
|
@ -1,6 +0,0 @@
|
|||
[style]
|
||||
based_on_style = pep8
|
||||
column_limit = 80
|
||||
blank_line_before_nested_class_or_def = true
|
||||
blank_line_before_module_docstring = true
|
||||
indent_width = 2
|
Загрузка…
Ссылка в новой задаче