This website works better with JavaScript.
Explore
Help
Register
Sign In
aiden
/
depot_tools
mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools
Watch
1
Star
0
Fork
You've already forked depot_tools
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c4e7c8717c
main
chrome/4147
chrome/3987
chrome/3865
chrome/3904
infra/config
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'c4e7c8717c'
${ noResults }
depot_tools
/
.style.yapf
4 lines
48 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add experimental support for python in 'git cl format' Based on yapf (https://github.com/google/yapf) this formatter currently only works with --full. It defaults to pep8 style and projects that use a different style can add .style.yapf to the top level. Review URL: https://codereview.chromium.org/1156743008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295547 0039d316-1c4b-4281-b951-d872f2087c98
10 years ago
[style]
Update "git cl format --python" to default to PEP-8 This matches the recent change Chromium's Python style guide. This also changes the .style.yapf in depot_tools to be explicit about the style used in this repo. Bug: 846432 Change-Id: I4947a90aec1739a9a86ffc9bfc5eacc1182dc186 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1987006 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
5 years ago
based_on_style = pep8
column_limit = 80