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
4 files changed
tree: aeb97a4252e20ccfbe3cab07b086b23fb4f39230
  1. bootstrap/
  2. git-templates/
  3. git_utils/
  4. infra/
  5. man/
  6. recipes/
  7. support/
  8. testing_support/
  9. tests/
  10. third_party/
  11. win_toolchain/
  12. zsh-goodies/
  13. .gitignore
  14. .style.yapf
  15. annotated_gclient.py
  16. apply_issue
  17. apply_issue.bat
  18. apply_issue.py
  19. auth.py
  20. breakpad.py
  21. checkout.py
  22. chrome-update-create-task.bat
  23. chrome-update.bat
  24. chrome-update.py
  25. clang-format
  26. clang-format.bat
  27. clang_format.py
  28. codereview.settings
  29. commit_queue
  30. commit_queue.bat
  31. commit_queue.py
  32. cpplint.bat
  33. cpplint.py
  34. cpplint_chromium.py
  35. create-chromium-git-src
  36. create-ntfs-junction.c
  37. create-ntfs-junction.exe
  38. dart_format.py
  39. depot-tools-auth
  40. depot-tools-auth.bat
  41. depot-tools-auth.py
  42. download_from_google_storage
  43. download_from_google_storage.bat
  44. download_from_google_storage.py
  45. drover
  46. drover.bat
  47. drover.py
  48. fetch
  49. fetch.bat
  50. fetch.py
  51. fix_encoding.py
  52. gcl
  53. gcl.bat
  54. gcl.py
  55. gclient
  56. gclient-new-workdir.py
  57. gclient.bat
  58. gclient.py
  59. gclient_completion.sh
  60. gclient_scm.py
  61. gclient_utils.py
  62. gerrit_util.py
  63. git-auto-svn
  64. git-cache
  65. git-cherry-pick-upload
  66. git-cl
  67. git-cl-upload-hook
  68. git-crrev-parse
  69. git-crsync
  70. git-crup
  71. git-footers
  72. git-freeze
  73. git-gs
  74. git-lkgr
  75. git-map
  76. git-map-branches
  77. git-mark-merge-base
  78. git-nav-downstream
  79. git-nav-upstream
  80. git-new-branch
  81. git-number
  82. git-rebase-update
  83. git-rename-branch
  84. git-reparent-branch
  85. git-retry
  86. git-runhooks
  87. git-squash-branch
  88. git-thaw
  89. git-try
  90. git-upstream-diff
  91. git_auto_svn.py
  92. git_cache.py
  93. git_cherry_pick_upload.py
  94. git_cl.py
  95. git_common.py
  96. git_footers.py
  97. git_freezer.py
  98. git_map.py
  99. git_map_branches.py
  100. git_mark_merge_base.py
  101. git_nav_downstream.py
  102. git_new_branch.py
  103. git_number.py
  104. git_rebase_update.py
  105. git_rename_branch.py
  106. git_reparent_branch.py
  107. git_retry.py
  108. git_squash_branch.py
  109. git_try.py
  110. git_upstream_diff.py
  111. gn
  112. gn.bat
  113. gn.py
  114. gsutil.py
  115. hammer
  116. hammer.bat
  117. LICENSE
  118. my_activity.py
  119. my_reviews.py
  120. ninja
  121. ninja-linux32
  122. ninja-linux64
  123. ninja-mac
  124. ninja.exe
  125. OWNERS
  126. owners.py
  127. owners_finder.py
  128. patch.py
  129. PRESUBMIT.py
  130. presubmit_canned_checks.py
  131. presubmit_support.py
  132. profile.xml
  133. pylint
  134. pylint.py
  135. pylintrc
  136. python_git_runner.sh
  137. README
  138. README.codereview
  139. README.gclient
  140. README.git-cl
  141. README.testing
  142. repo
  143. rietveld.py
  144. roll-dep
  145. roll-dep-svn
  146. roll-dep-svn.bat
  147. roll-dep.bat
  148. roll_dep.py
  149. roll_dep_svn.py
  150. scm.py
  151. subcommand.py
  152. subprocess2.py
  153. trychange.py
  154. update_depot_tools
  155. update_depot_tools.bat
  156. upload_to_google_storage.py
  157. WATCHLISTS
  158. watchlists.py
  159. weekly
  160. wtf